In this gist I will include the steps, commands and code that we used in the Node.js Deployment gist. This is not only deployment but also preparing our server with SSH keys and some security precautions such as disabling password and root login.
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
You need to create a Digital Ocean account.
