You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
298 B

4 years ago
  1. ## Use case
  2. cd to main project directory
  3. <br>
  4. run: node index.js // output: [listening on *:3030]
  5. ### use pm2
  6. #### install
  7. sudo npm install pm2@latest -g
  8. #### start
  9. pm2 start index.js
  10. #### monitor
  11. pm2 monit
  12. #### document
  13. [pm2 quick start](https://pm2.keymetrics.io/docs/usage/quick-start/)