将 web-server 和 game-server 中的公共文件改为链接

This commit is contained in:
liangtongchuan
2020-09-10 17:20:27 +08:00
parent f8ac401c67
commit dbff02f5a6
32 changed files with 126 additions and 861 deletions

View File

@@ -2,6 +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
#rm -rf /game-server/shared
#cp -r /game-server/dist/shared /game-server
pm2-runtime pomeloPm2Start.json #pm2 启动游戏服务器