Skip to content

Instantly share code, notes, and snippets.

@davglass
Created September 29, 2013 05:54
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davglass/6749755 to your computer and use it in GitHub Desktop.
Save davglass/6749755 to your computer and use it in GitHub Desktop.
The commands I used in the live coding demo of this talk: http://www.slideshare.net/davglass/hacking-with-node-js
The app code is here:
https://github.com/davglass/hack
> hub init //create git repo
> hub create //bind to github.com
> npm init //Create the package.json
> npm install express --save //Install Express
> travis init //Create the .travis.yql file and enable the repo
> heroku apps:create <app> //Create the app
> travis setup heroku //Bind Travis to Heroku
> git push origin master //Push the code
> travis show //Show the build
> travis status //Show the full build status
> travis logs <build number> //Tail the logs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment