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
yep it shouldn't - but that is for local dokku setup, it will be different for staging and prod. So far I am trying to setup staging on real DO so I am not using my time in ENV stuff