DJANGO – 2 B Installing django and python in windows 10

Spread the love

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

  1. Install the downloaded setup files making sure install path is selected
  2. Setup powershell to allow execution of commands (Set-ExecutionPolicy Unrestricted)
  3. Verify installation by opening power shell and typing python -V
  4. Install virtual environment (pip install virtualenv)
  5. Make a directory to organize your codes
  6. Change your directory to the new folder (cd c:\djangoapps\compinventory\)
  7. Create a virtualenv in the directory created in point 6 (virtualenv venv)
  8. Activate the virtualenv (./Srcipts/activate)
  9. Install django in the project
  10. Make djangoproject and djangoapp
  11. Make migration and migrate
  12. launch the app
  13. Install text editor (Sublime Text3, VS Code)

Spread the love

About the author

arbadjie

Hi, I'm Abdourahman Badjie, an aspiring developer with obsession for anything coding and networking. This blog is dedicated to helping people learn to develop web applications using django framework.

View all posts

Leave a Reply

Your email address will not be published. Required fields are marked *