We need to create a virtual env for our app to run in: More Here Run this command in whatever folder you want to create your venv folder
python -m venv ./venv
# Mac/Linux
source ./venv/bin/activate
# Windows
venv\Scripts\activate.bat - May need to add full path (c:\users\....venv\Scripts\activate.bat)
deactivate
pip freeze
pip install django
django-admin startproject PROJECTNAME
Run Server (http://127.0.0.1:8000) CTRL+C to stop
python manage.py runserver
python manage.py start app APPNAME
python manage.py makemigrations
python manage.py migrate
python manage.py collectstatic
if u have only python3 installed u can write
python
onlypython3
is basically needed to be written for machines runningpython 2.x
andpython 3.x