This commit is contained in:
Eden Kirin
2024-04-06 09:21:10 +02:00
commit 7a294cb79d
17 changed files with 441 additions and 0 deletions

21
Makefile Normal file
View File

@ -0,0 +1,21 @@
ifeq ($(VIRTUAL_ENV),)
RUN_IN_ENV=poetry run
else
RUN_IN_ENV=
endif
run:
@ $(RUN_IN_ENV) python manage.py runserver
shell:
@ $(RUN_IN_ENV) python manage.py shell
migrations:
@ $(RUN_IN_ENV) python manage.py makemigrations
migrate:
@ $(RUN_IN_ENV) python manage.py migrate