wdfe / ideploy

a simple deploy platform written by nodejs and reactjs
MIT License
250 stars 55 forks source link

关于PM2的简单使用 #3

Closed sm0king closed 5 years ago

sm0king commented 7 years ago

自带的PM2.json,应该是本身团队自己的,所以大家应该都用不太到 我就简单些了一个,最简单的那种 { "apps": [{ "name": "lx-wdfe", "script": "npm", "args":"start" }] } 然后执行 pm2 start pm2.json就可以了。 pm2.json 自由发挥咯。