feat(script): 上传脚本,部署脚本,短链接监控配置

This commit is contained in:
liangtongchuan
2023-04-27 22:34:35 +08:00
parent c087bbfb29
commit 706821f5c5
5 changed files with 192 additions and 3 deletions

View File

@@ -54,11 +54,15 @@ const EASY_MONITOR_TEMPLATE_FILE = './easyMonitorTemplate.js';
const WEB_SERVER_PATH = '../web-server/config/';
// web-server 配置模板
const WEB_SERVER_TEMPLATE_FILE = './webServerTemplate.ts';
// web-server plugin 配置路径
const WEB_SERVER_PLUGIN_PATH = '../web-server/config/plugin.ts';
// gm-server 配置路径
const GM_SERVER_PATH = '../gm-server/config/';
// gm-server 配置模板
const GM_SERVER_TEMPLATE_FILE = './gmServerTemplate.ts';
// gm-server plugin 配置路径
const GM_SERVER_PLUGIN_PATH = '../gm-server/config/plugin.ts';
// const masterData = require(GAME_SERVER_MASTER_FILE);
const databaseData = require(GAME_SERVER_DATABASE_FILE);
@@ -174,7 +178,7 @@ function setupGmConfig() {
modFile(configPath, redisPassReg, `${REDIS_PASS}`);
}
// ! 尚未添加短连接 plugin 配置
// updateDatabase();
// setupGameApp();