Tested on OS X 10.10.4 Yosemite, 2015-07-06
Install Python 3.4 from downloadable installer from https://www.python.org/downloads/
mkvirtualenv --python=/Library/Frameworks/Python.framework/Versions/3.4/bin/python3 envname
(To re-start the virtualenv, workon envname
)
Install basics:
pip3 install django==1.8
pip install --upgrade selenium
django-admin.py startproject projectname
cd projectname
Start version control:
git config --global core.editor nano
git init .
echo "db.sqlite3" >> .gitignore
echo "__pycache__" >> .gitignore
echo "*.pyc" >> .gitignore
git add .
git status
git commit
Enter:
First commit: Basic Django config