Created
March 28, 2011 21:53
-
-
Save statico/891368 to your computer and use it in GitHub Desktop.
Redbeacon local development tidbits
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
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