Template of a Python service that uses Django-REST framework with poetry. Build, test and CI scripts ready.
🔑 Copy .env.example
to .env
and change api settings
- 🐍 Install poetry with command
pip install poetry
- 📎 Install dependencies with command
poetry install --no-root
To install pre-commit simply run inside the shell:
pre-commit install
To run it on all of your files, do
pre-commit run --all-files
🎓 Run python manage.py migrate
🚀 Run project via python manage.py runserver