-
-
Save dogweather/3998492 to your computer and use it in GitHub Desktop.
Making Heroku deploy a one-liner
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
# Heroku Convenience Aliases | |
alias precompile='rake assets:precompile; git add -f public/assets/manifest.yml; git commit -m manifest' | |
alias migrate='heroku run rake db:migrate' | |
alias clear_cache='heroku run rake cache:clear' | |
alias deploy='precompile; git push heroku master; migrate; clear_cache' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Capistrano is the "right" tool for this, but I know shell aliases much better.