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
This comand 'python manage.py start app APPNAME' will not work.
It should be like this 'python manage.py startapp APPNAME'