Repository for the 2013 Summer Hackathon at Facebook Seattle.
- First install NodeJS
- Clone the repository
- Run
npm install
- Make changes to master branch
- Test changes on master branch
- Merge into live branch
- Add live git repository
- Add ssh key to server
~/.ssh/authorized_keys
git remote add live anutsh@anut.sh:anut.sh.git
- Add ssh key to server
git push live live
- Git hook post-update runs
- If the branch is "live" it runs upstart script that restarts server.js