Deploy

update app for local dokku deploy

##setup dokku
git clone git@github.com:progrium/dokku.git
vagrant up
cat ~/.ssh/id_rsa.pub | vagrant ssh -- sudo sshcommand acl-add dokku ${USER}

vagrant ssh
##setup dokku redis 
cd /var/lib/dokku/plugins
git clone https://github.com/luxifer/dokku-redis-plugin redis
dokku plugins-install
dokku redis:create jschat

##commit app (setup hosts file)
git push dokku <branchname>:master 

it might not work with redis until you commit from outside
I guess it is github. We had to put compiled version of webapp into repo to avoid compile step during each dokku push.