/testsite

My Experiment with Django

Primary LanguagePython

testsite

My First Django Project

Some Commands

  • 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