Skip to content

Instantly share code, notes, and snippets.

@joeybaker
Created May 10, 2012 18:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joeybaker/2654934 to your computer and use it in GitHub Desktop.
Save joeybaker/2654934 to your computer and use it in GitHub Desktop.
setup a new django project using virtual environments
# To setup a new django project
virtualenv PROJECTNAME --no-site-packages
source PROJECTNAME/bin/activate
pip install django
django-admin.py startproject PROJECTNAME
python PROJECTNAME/manage.py runserver
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment