In this part of the series Django For Beginners we are going to see about installation of django. Installation of django is straight foreward,
If you have python installed on your system you may skip this part,
3.6 and later versions of python to install one head on to python.org. And head on to Downloads section and install latest python version supported by your system and running the installer.
Django is straight foreward, with python comes
pip pre-install you can check it by running following
teminal. If it throws any error then simple reinstall
Python and it should solve your problem. Then enter the following command to install
pip install django
And will download and install django on your system for you.
Creating First Django Project
Navigate to directory where you want to create where you want to create your first django project and enter the following commands,
django-admin startproject myDjangoSite cd myDjangoSite python manage.py runserver
And after doing this your first django program will be created and it will be running live on localhost:8000.