- uv for dependency management
- Docker and docker-compose (optional)
You can either use database in docker compose or locally installed one.
For the specific approach refer to the corresponding section.
If you want to go with the local database you can make use of the make bootstrap
command to install all dependencies and setup the database. For the exact steps
refer to the Makefile.
If you prefer to use docker then just run:
make bootstrap-dockerThen, you can manage containers with docker compose.
They are installed as a part of the make bootstrap* commands, but if you want to install them again
for some reason, then run:
uv pre-commit install --install-hooksThe project ships with a default user admin:admin321! in fixtures
For managing dependencies, we use uv.
To install all dependencies, run:
uv syncTo add a new dependency:
uv add [--group <group>] <package>To apply migrations, run:
uv run python manage.py migrateor
make migrateuv run python manage.py loaddata fixtures/*.yamlor
make load-fixturesuv run python manage.py runserveror just
make