6 lines
204 B
Bash
6 lines
204 B
Bash
#/bin/bash
|
|
cnpm install -d #安装依赖库
|
|
npm run build
|
|
node generatePm2Config.js #使用pm2来做进程管理,生成进程配置文件
|
|
pm2-runtime pomeloPm2Start.json #pm2 启动游戏服务器
|