Skip to content

Latest commit

 

History

History
14 lines (12 loc) · 907 Bytes

File metadata and controls

14 lines (12 loc) · 907 Bytes

Step by step use Pyhton 3.6/Django on windows

  1. Download Python and install on your pc.
  2. Create project folder sample Django01.
  3. Open console with type cd Django01.
  4. Create virtual environment with type python -m venv myvenv.
  5. Activate virtual environment with type myvenv\Scripts\activate.
  6. Install Django in virtual environment with project management PIP whith type pip3 install django.
  7. Create django project with type django-admin startproject mysite . Here I give django project name is mysite and don't forget adding dot in last command for create manage.py file.
  8. Run project with type python manage.py runserver . If you don't declare specific port system will set port default 8000.
  9. Browse site in browser with type url localhost:8000.
  10. Congrate! you are success create web site project with python/django.