Skip to content

Instantly share code, notes, and snippets.

@ptgamr
Forked from plasticut/setup_dokku.sh
Created November 2, 2015 09:17
Show Gist options
  • Select an option

  • Save ptgamr/16d67b06d4d5822325bd to your computer and use it in GitHub Desktop.

Select an option

Save ptgamr/16d67b06d4d5822325bd to your computer and use it in GitHub Desktop.
Setup dokku
export DOKKU_HOST=$HOSTNAME
export PUBLIC_KEY=~/.ssh/id_rsa.pub
export DEVELOPER=john
cat $PUBLIC_KEY | ssh root@$DOKKU_HOST "sudo sshcommand acl-add dokku $DEVELOPER"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment