HOW TO INSTALLING DJANGO WITH PYTHON ON WINDOWS
Open browser and goto www.python.org to download python or paste this url in browser.
https://www.python.org/ftp/python/2.7.16/python-2.7.16.amd64.msi
- Install the downloaded setup files making sure install path is selected
- Setup powershell to allow execution of commands (Set-ExecutionPolicy Unrestricted)
- Verify installation by opening power shell and typing python -V
- Install virtual environment (pip install virtualenv)
- Make a directory to organize your codes
- Change your directory to the new folder (cd c:\djangoapps\compinventory\)
- Create a virtualenv in the directory created in point 6 (virtualenv venv)
- Activate the virtualenv (./Srcipts/activate)
- Install django in the project
- Make djangoproject and djangoapp
- Make migration and migrate
- launch the app
- Install text editor (Sublime Text3, VS Code)