Created
March 12, 2011 01:43
-
-
Save keokilee/866932 to your computer and use it in GitHub Desktop.
Start up the staging virtualenv
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
echo "Setting up environment." | |
source ~/Envs/user/bin/activate | |
rm -rf ~/staging/$BUILD_TAG/.env | |
echo "Linking settings, db, and files from current." | |
cp ~/staging/local_settings.py ~/staging/$BUILD_TAG/ | |
cd ~/staging/$BUILD_TAG/ | |
rm -rf site_media | |
ln -s ~/staging/site_media site_media |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment