Skip to content

Instantly share code, notes, and snippets.

@statico
Created March 28, 2011 21:53
Show Gist options
  • Save statico/891368 to your computer and use it in GitHub Desktop.
Save statico/891368 to your computer and use it in GitHub Desktop.
Redbeacon local development tidbits
export PIP_RESPECT_VIRTUALENV=true
bm=$HOME/src/beautifulmind
function b () {
export PYTHONPATH=$bm:$bm/..
export DJANGO_SETTINGS_MODULE=beautifulmind.settings
# If on Mac OS X...
export DYLD_LIBRARY_PATH=/usr/local/mysql/lib:$DYLD_LIBRARY_PATH
. $bm/../bin/activate
cd $bm
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment