My First Django Project
-
virtualenv env
-
. env/bin/activate
-
pip install django
-
django-admin --version
-
django-admin startproject testsite
-
cd testsite
-
less manage.py
-
ALLOWED_HOSTS = ['your-server-ip']
-
python manage.py runserver
-
deactivate