Created
July 21, 2010 16:14
-
-
Save awd/484697 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
#!/bin/sh | |
# CIJOE | |
# | |
# Put this file to $PROJECT/.git/hooks/ for after pull changes. | |
# | |
rm -rf /data/Woople_CI/current/config/database.yml | |
ln -s /data/Woople_CI/shared/config/database.yml /data/Woople_CI/current/config/database.yml | |
rake db:create:all | |
rake db:migrate | |
rake db:test:prepare |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment