Installing Python with the setup
Creating a Virtual environment with python -m venv my_env
Activating the virtual env with .\my_env\Scripts\activate
Installing Django with pip install Django~=4.1.0
Creating a default Django project with django-admin startproject myproject
Opening the project folder with cd myproject
Migrating database with python manage.py migrate
Starting the dev server with python manage.py runserver
Open this link in the browser http://127.0.0.1:8000/
Creating a default django app with python manage.py startapp myapp
Opening the project folder with cd myapp
python manage.py shell
python manage.py makemigrations blog
python manage.py sqlmigrate blog 0001
python manage.py migrate
python manage.py createsuperuser
Admin site link http://127.0.0.1:8000/admin/ Blog site link http://127.0.0.1:8000/blog/
pip freeze > requirements.txt
pip install -r requirements.txt