- Python 3.11
- Django 4.x
- Django REST framework
- Django filter
- MySQL 8.3
- Redis
- create a virtual environment, for example conda:
conda create -n <your_project_name> python=3.11
- activate the virtual environment:
conda activate <your_project_name>
- install the required packages:
pip install -r requirements_dev.txt
- create local_settings.py to
src/<your_project_name>/local_settings.py
- modify the database and other settings in
src/<your_project_name>/local_settings.py
- run the database and redis server
docker compose up
- migrate the database
python src/manage.py migrate
- run the server
python src/manage.py runserver