Skip to content

Instantly share code, notes, and snippets.

@jbactual
jbactual / README.md
Created March 2, 2020 01:04
DigitalOcean && Nodejs Deployment

Node.js Deployment

Steps to deploy a Node.js app to DigitalOcean using PM2, NGINX as a reverse proxy and an SSL from LetsEncrypt

1. Sign up for Digital Ocean

2. Create a droplet and log in via ssh

I will be using the root user, but would suggest creating a new user

3. Install Node/NPM