Files
2023-09-14 17:44:02 +02:00

15 lines
196 B
Makefile

ifeq ($(VIRTUAL_ENV),)
RUN_IN_ENV=poetry run
else
RUN_IN_ENV=
endif
run:
@ $(RUN_IN_ENV) uvicorn \
main:app \
--reload \
--reload-dir=app
shell:
@ $(RUN_IN_ENV) python manage.py shell