Last active
January 2, 2016 11:19
-
-
Save khalib/8295548 to your computer and use it in GitHub Desktop.
Mac OSX Django install
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
| # 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