This commit is contained in:
Eden Kirin
2023-08-25 21:54:30 +02:00
commit 97be2871d4
6 changed files with 555 additions and 0 deletions

15
Makefile Normal file
View File

@ -0,0 +1,15 @@
ifeq ($(VIRTUAL_ENV),)
RUN_IN_ENV=poetry run
else
RUN_IN_ENV=
endif
run:
@ $(RUN_IN_ENV) uvicorn \
main:app \
--reload \
--reload-dir=service \
--lifespan=off
shell:
@ $(RUN_IN_ENV) python manage.py shell