Steps to deploy a Node.js app to DigitalOcean using PM2, NGINX as a reverse proxy and an SSL from LetsEncrypt
Create free AWS Account at https://aws.amazon.com/
I would be creating a t2.medium ubuntu machine for this demo.
1) Clone Repo | |
2) Install all module by `sudo npm install`. After installing all modules if u get any error run `npm rebuild` | |
2) Install pm2 by running `sudo npm i pm2 -g` | |
4) run via pm2 `pm2 start pm2-config.json` |
Steps to deploy a Node.js app to DigitalOcean using PM2, NGINX as a reverse proxy and an SSL from LetsEncrypt
Create free AWS Account at https://aws.amazon.com/
I would be creating a t2.medium ubuntu machine for this demo.