Skip to content

Latest commit

 

History

History
9 lines (8 loc) · 422 Bytes

README.md

File metadata and controls

9 lines (8 loc) · 422 Bytes

"# AWS "

Demo 1 : NodeServer with Process Monitor

  • File : server.js
  • Just change the scripts section in package.json : set server.js as entry point with pm2 support: "main": "server.js",
    "scripts": { "start": "node ./node_modules/pm2/bin/pm2 start ./server.js --name hello_aws --log ../logs/app.log ", "stop": "node ./node_modules/pm2/bin/pm2 stop hello_aws",
  • Run : npm start