部分公共代码db和const放到shared目录

This commit is contained in:
liangtongchuan
2020-09-09 00:57:26 +08:00
parent de563792cc
commit f8ac401c67
21 changed files with 99 additions and 37 deletions
+2
View File
@@ -2,4 +2,6 @@
cnpm install -d #安装依赖库
npm run build
node generatePm2Config.js #使用pm2来做进程管理,生成进程配置文件
rm -rf /game-server/shared
cp -r /game-server/dist/shared /game-server
pm2-runtime pomeloPm2Start.json #pm2 启动游戏服务器