Install Python
python --version
PIP (PIP is the package manager which is included in Python from 3.4)
pip --version
if PIP is not installed install by
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py
Creating a virtual environment
py -m venv myworld
Then you have to activate the environment, by typing this command:
Windows:
myworld\Scripts\activate.bat
Unix/MacOS:
source myworld/bin/activate
Install Django
python -m pip install Django
Check django version
django-admin --version
First django project
django-admin startproject quiz
Running the server
py manage.py runserver
Create first app
py manage.py startapp Questions