Skip to content

Instantly share code, notes, and snippets.

View nalenb's full-sized avatar

Bill Nalen nalenb

View GitHub Profile

Setup Mac OS X for development use

Idea is to install as few tools as possible to enable HTML, CSS, JavaScript, Node and ASP.NET development

  1. Set System Preferences and Finder Preferences
  2. Setup Calendar, Mail, Messages, Reminders, Notes, Photos, etc.
  3. Create Projects folder and pin to favorites
  4. Install Homebrew https://brew.sh
  5. Install Git from brew
@nalenb
nalenb / node_nginx_ssl.md
Created November 11, 2019 22:57 — 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

@nalenb
nalenb / gist:dc0e0635272dca0b83a4182d65d4e4bf
Created November 30, 2016 16:04
Azure deployment problems from Mac
In browser:
Create a new shared plan web application on Azure portal
For new web application, selet deploy options of Local Git and add deployment username and password
In web application overview, copy the url for the git clone
On Mac:
Install vs.net 2015 on Mac
Clone azure git repository to empty folder
Start vs.net and create a new project using Other -> ASP.NET MVC Project
Build solution on Mac and notice success