Created
January 4, 2009 22:59
-
-
Save randyjhunt/43205 to your computer and use it in GitHub Desktop.
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
# Capistrano deployment scripts | |
# the deployment script will go to default environment (usually "dev"), others like "staging" can be targeted by using "cap staging deploy", etc. | |
# update the server with the latest revision in the repository | |
cap deploy | |
# run rake db:migrate on the server | |
cap deploy:migrate | |
# updates the server with the latest project in the repository and then runs rake db:migrate | |
cap deploy:migrations | |
# Restart the mongrel cluster | |
# useful if site gets slow from memory leaks | |
# likely used on production environment | |
cap mongrel:cluster:restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment