Add example project (#215)

* add example project

* format

* fix format
This commit is contained in:
Stan Triepels
2024-09-08 03:13:49 +02:00
committed by GitHub
parent af505e8d70
commit 2191897825
13 changed files with 272 additions and 15 deletions

12
Makefile Normal file
View File

@@ -0,0 +1,12 @@
dev:
docker compose -f web-docker-compose.yaml up
test:
docker-compose -f test-services-docker-compose.yaml run --rm django-q2 poetry run pytest
createsuperuser:
docker compose -f web-docker-compose.yaml run --rm web python manage.py createsuperuser
format:
docker compose -f test-services-docker-compose.yaml run --rm django-q2 poetry run ruff format .
docker compose -f test-services-docker-compose.yaml run --rm django-q2 poetry run ruff check . --fix