Skip to content

Instantly share code, notes, and snippets.

View christian-acuna's full-sized avatar

Christian Acuña christian-acuna

  • eero
  • San Francisco, CA
View GitHub Profile
//webpack -w
//watch mode, sitting waiting for changes
//webpack-dev-server
// run webpack-dev-server
//webpack-dev-server --inline
//webpack-dev-server --content-base src --inline --hot
@christian-acuna
christian-acuna / flightplan-deploy.md
Created August 5, 2016 04:37 — forked from learncodeacademy/flightplan-deploy.md
Deploy Node.js Apps with Flightplan

##Setup your server (this would ideally be done with automated provisioning)

  • add a deploy user with password-less ssh see this gist
  • install forever npm install -g forever

##Install flightplan

  • npm install -g flightplan
  • in your project folder npm install flightplan --save-dev
  • create a flightplan.js file
# rails _Version.Number_ new <app_name>
# cd <app_name>
# ls -p // -p, --indicator-style=slash append "/" indicator to directories
# rake about
# git init
# git add .
# in .gitignore .idea/*
# git commit -m "Initalize repository"