Skip to content

Instantly share code, notes, and snippets.

View Qasmi2's full-sized avatar
🌿

Nadeem Qasmi Qasmi2

🌿
View GitHub Profile
@Qasmi2
Qasmi2 / Git Guidelines
Last active December 7, 2018 08:07
Guidelines for git
• Download gitbush (https://git-scm.com/downloads)
• optional ( Integrate with IDE )
-----------------------------------------------
Some Global Configuration for Git
• Open a cmd window or terminal on your computer.
• Check to make sure that Git is installed and available on the command line, by typing the following at the command prompt:
-> git –version
• To configure your user name to be used by Git, type the following at the prompt:
-> git config --global user.name "Your Name"
• To configure your email to be used by Git, type the following at the prompt:
@Qasmi2
Qasmi2 / node_nginx_ssl.md
Created September 11, 2020 14:07 — 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