pip install virtualenv
cd ~
virtualenv newenv
cd newenv
source newenv/bin/activate
pip install django
django-admin --version
django-admin startproject django_studies
cd django_studies
python manage.py migrate
python manage.py createsuperuser
vim django_studies/settings.py
(Add 127.0.0.1 to ALLOWED_HOSTS)
cd ..
python manage.py runserver 127.0.0.1:8000
Create an app: python manage.py startapp polls
To deactivate virtualenv: deactivate
To activate again: source newenv/bin/activate