Created
May 3, 2017 13:30
-
-
Save LayneSmith/775f810d21475d52dc0367aa2a3d6274 to your computer and use it in GitHub Desktop.
virtualenv
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 virtualenv | |
pip install virtualenv | |
# create a virtualenv called "django-env" | |
# with no site packages or furniture | |
virtualenv --no-site-packages django-env | |
# activate the virtualenv | |
source django-env/bin/activate | |
# change directory | |
cd django-env | |
# install Django | |
easy_install Django | |
# SKIP? | |
django-admin.py | |
# start a project called django_test | |
django-admin.py startproject django_test | |
# run the server | |
python manage.py runserver | |
# turn off virtualenv | |
deactivate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment