Prototype implementation
This commit is contained in:
parent
315143a6fc
commit
14b0bc6d01
160 changed files with 5731 additions and 42 deletions
30
Makefile
Normal file
30
Makefile
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
.PHONY: dev db migrate shell test lint css createsuperuser collectstatic
|
||||
|
||||
db:
|
||||
docker compose -f docker-compose.dev.yml up -d 2>/dev/null || echo "DB already running"
|
||||
|
||||
dev:
|
||||
uv run manage.py runserver 0.0.0.0:8000
|
||||
|
||||
css:
|
||||
npm run dev
|
||||
|
||||
migrate:
|
||||
uv run manage.py makemigrations
|
||||
uv run manage.py migrate
|
||||
|
||||
shell:
|
||||
uv run manage.py shell_plus 2>/dev/null || uv run manage.py shell
|
||||
|
||||
test:
|
||||
uv run pytest
|
||||
|
||||
lint:
|
||||
uv run ruff check .
|
||||
uv run mypy vergabe_teilnahme/
|
||||
|
||||
createsuperuser:
|
||||
uv run manage.py createsuperuser
|
||||
|
||||
collectstatic:
|
||||
uv run manage.py collectstatic --noinput
|
||||
Loading…
Add table
Add a link
Reference in a new issue