Skip to content

Instantly share code, notes, and snippets.

@foysavas
Last active August 29, 2015 14:11
Show Gist options
  • Save foysavas/0b78e657829429a14f97 to your computer and use it in GitHub Desktop.
Save foysavas/0b78e657829429a14f97 to your computer and use it in GitHub Desktop.
dokku notes
# install dokku on ubuntu 14.04 server
wget -qO- https://raw.github.com/progrium/dokku/v0.3.9/bootstrap.sh | sudo DOKKU_TAG=v0.3.9 bash
# add application on server
dokku apps:create the-app
# add developer public key
cat developers_id_rsa.pub | ssh ubuntu@the-dokku-server "sudo sshcommand acl-add dokku $USER"
# developer attaches dokku to local git repo
git remote add dokku dokku@the-dokku-server:the-app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment