Skip to content

Instantly share code, notes, and snippets.

@khalib
Last active January 2, 2016 11:19
Show Gist options
  • Select an option

  • Save khalib/8295548 to your computer and use it in GitHub Desktop.

Select an option

Save khalib/8295548 to your computer and use it in GitHub Desktop.
Mac OSX Django install
# Install python
brew install python
# Add python to path.
# export PATH=/usr/local/share/python:$PATH
# Install virtualenv.
pip install virtualenv
# Create virtual environment for the project.
virtualenv ./myproject/
# Activate project
source bin/activate
# Define project requirements (requirements.txt).
# Django==1.5
pip install -r requirements.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment