nuxt-community / express-template

Starter template for Nuxt 2 with Express.
https://codesandbox.io/s/github/nuxt-community/express-template
1.25k stars 239 forks source link

如果用pm2,怎么启动? #70

Closed liujianping520 closed 3 years ago

liujianping520 commented 7 years ago

如果用pm2,怎么启动?

This question is available on Nuxt.js community (#c52)
NicoPennec commented 7 years ago

我很抱歉,我不会说中文

  1. Build your project: npm build

  2. Start your project pm2 start npm --name "your-project-alias" -- start

  3. Check the status: pm2 status

  4. Restart: pm2 restart your-project-alias

  5. Stop: pm2 stop your-project-alias

liujianping520 commented 7 years ago

Thank you!