Created
January 14, 2015 20:53
-
-
Save abstractcoder/2ec8db1ad108e2f687e7 to your computer and use it in GitHub Desktop.
Shell script for executing remote Dokku commands using Heroku like syntax (e.g. dokku run rake db:migrate, dokku logs -t). Replace example.com with your hostname, and www with your Dokku app name.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
ssh -t dokku@example.com $1 www ${*:2} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment