🚚
Deploying Nodejs application on DigitalOcean droplet
2016. September 15.
Tutorials I have went through during deployment:
- How To Use SSH Keys with PuTTY on DigitalOcean Droplets (Windows users)
-
Initial Server Setup with Ubuntu 14.04
- Root login
- Creating users
- Root privileges
- Public key authentication
-
Additional Recommended Steps for New Ubuntu 14.04 Servers
- Firewall (allowing ports)
- Timezones
- NTP (allow your computer to stay in sync with other servers)
- SWAP file
-
How To Install Node.js on an Ubuntu 14.04 server
- Distro stable version (we are using this)
- PPA
- NVM
-
How To Use SFTP to Securely Transfer Files with a Remote Server
- Navigating with SFTP in command line
- Transferring files with SFTP
-
How To Set Up a Host Name with DigitalOcean
- DO Domain servers
- Configuring domain
-
How To Set Up a Node.js Application for Production on Ubuntu 16.04
- Creating a NodeJS application
- PM2
- Installing Nginx as a Reverse Proxy Server
- Installing Let’s Encrypt and Dependencies (in progress - at this point I need the digital ocean nameservers, which takes some time to be redirected)
-
- Creating an alias
sudo ln -s "$(which nodejs)" /usr/bin/node
- How To Set Up Automatic Deployment with Git with a VPS