Skip to content

Instantly share code, notes, and snippets.

@awd
Created July 21, 2010 16:14
Show Gist options
  • Save awd/484697 to your computer and use it in GitHub Desktop.
Save awd/484697 to your computer and use it in GitHub Desktop.
#!/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