Skip to content

Instantly share code, notes, and snippets.

@sarahhenderson
sarahhenderson / 0 Create vagrant base box for Ubuntu 14.04.md
Last active August 29, 2015 14:02
Instructions to create a vagrant base box for Ubuntu server 14.04
  1. Download ubuntu from http://www.ubuntu.com/download/server (I used Trusty Tahr 14.04 LTS)
  2. Create a new VM in VirtualBox
  • 512MB RAM
  • Expandable MKVD disk up to 10GB
  1. Install Ubuntu in the VirtualBox
  • Root password: vagrant
  • Username: vagrant, password: vagrant
  • Mount the Guest Additions DVD in VirtualBox UI

Notes: Host setup was done on a Windows 7 host machine using Powershell.

@sarahhenderson
sarahhenderson / 0 Easy deployment with Grunt and git.md
Last active January 29, 2019 20:11
Single command deploy for an Angular/Node web application to Ubuntu EC2 instance

Easy deployment with Grunt and Git

Angular/Node.js web application to Ubuntu EC2 instance

Objective

Deploy entire site to server using a single command grunt deploy

Assumptions

  1. Your web application exists on your local machine in a git repo
  2. You can log into your server via ssh without a password
  3. You are using grunt for your build process