Skip to content

Instantly share code, notes, and snippets.

@NathBabs
NathBabs / node_nginx_ssl.md
Created October 8, 2019 09:26 — forked from bradtraversy/node_nginx_ssl.md
Node app deploy with nginx & SSL

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

If you use the referal link below, you get $10 free (1 or 2 months) https://m.do.co/c/5424d440c63a

2. Create a droplet and log in via ssh

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

@NathBabs
NathBabs / heroku_env_copy.sh
Created September 21, 2021 20:55 — forked from nabucosound/heroku_env_copy.sh
Script to copy environment variables from an existing heroku app to another one
#!/bin/bash
# Source: http://blog.nonuby.com/blog/2012/07/05/copying-env-vars-from-one-heroku-app-to-another/
set -e
sourceApp="$1"
targetApp="$2"
while read key value; do
@NathBabs
NathBabs / ms-office-dl-links
Created December 24, 2024 08:15 — forked from DartPower/ms-office-dl-links
MS Office Download Links
@NathBabs
NathBabs / Office 2019 ISO Links at Microsoft.md
Created December 24, 2024 08:17 — forked from Issykul/Office 2019 ISO Links at Microsoft.md
Office 2019 ISO Download Links at Microsoft