Created
February 11, 2012 21:14
-
-
Save edhedges/1804266 to your computer and use it in GitHub Desktop.
My .bashrc
This file contains hidden or 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
# Setting PATH for Python 2.7 | |
# The orginal version is saved in .bash_profile.pysave | |
PATH="/Library/Frameworks/Python.framework/Versions/2.7/bin:${PATH}" | |
export PATH | |
export WORKON_HOME=$HOME/virtualenvs | |
export PROJECT_HOME=$HOME/projects | |
source /usr/local/bin/virtualenvwrapper.sh | |
mkdjangoproj () { | |
mkproject --no-site-packages --prompt=$1: $1 && | |
git init && | |
git pull [email protected]:edhedges/eds-djangoplate.git master && | |
rm README.md && | |
pip install -r requirements.txt && | |
chmod +x manage.py | |
./manage.py new_secret && | |
./manage.py syncdb && | |
./manage.py runserver | |
} | |
#Also note that in my .bash_profile and .bash_profile.pysave I have this line: source ~/.bashrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment