Files
litestar-machines-test/Makefile
2023-08-27 11:14:19 +02:00

15 lines
197 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