This project stack: Django, DRF, PostgreSQL
Setting up virtual environment:
python -m venv venv
Get in to the virtual environment:
source ./venv/bin/activate
(macOs).\venv\Scripts\activate
(windows)pip install -r requirements.txt
Run migrates:
python manage.py migrate
Run server:
python manage.py runserver
-
pip freeze > requirements.txt
-
python manage.py makemigrations
"django_extensions", "django_prometheus", "corsheaders", "rest_framework", # utilities for rest apis "djoser", "recurrence", # "rest_framework.authtoken", # token authentication "django_filters", # for filtering rest endpoints