Files
litestar-machines-test/Makefile
2023-08-27 14:50:23 +02:00

19 lines
249 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
run-no-relad:
@ $(RUN_IN_ENV) uvicorn \
main:app
shell:
@ $(RUN_IN_ENV) python manage.py shell