Deploys this to a heroku instance, and lets you tunnel your traffic through a websocket to circumvent firewall restrictions.
Requires:
- git
- ssh
- node.js
- heroku-toolbelt
- optionally: travis-gem
Setup:
- Clone this repo (Optionally fork it if you want continuous deployment w/ travis)
- Create a new heroku app and push the repo
heroku create
heroku config:add BUILDPACK_URL=https://github.com/ddollar/heroku-buildpack-multi.git
heroku config:add DEST=localhost:22
git push heroku master
- Wait for Heroku to start the app, then run the client
npm install wstunnel -g
wstunnel ws://your-app.herokuapp.com:80
Travis continuous deployment goodness:
- Init the deploy script, then push the changes to your fork: (you need to activate travis for your repo first)
travis encrypt $(heroku auth:token) --add deploy.api_key
git commit -am 'changed heroku api key'
git push