Skip to content

Instantly share code, notes, and snippets.

@keokilee
Created March 12, 2011 01:43
Show Gist options
  • Save keokilee/866932 to your computer and use it in GitHub Desktop.
Save keokilee/866932 to your computer and use it in GitHub Desktop.
Start up the staging virtualenv
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