Loading .env_debug in Makefile; make clean command bugfix

This commit is contained in:
DarkCat09 2023-02-27 18:49:30 +04:00
parent 9af92175a9
commit 2aeccd44be
3 changed files with 5 additions and 10 deletions

View file

@ -1,5 +1,6 @@
dev:
DEBUG="true" python3 -m uvicorn main:app --reload
python3 -m dotenv -f .env_debug run \
python3 -m uvicorn main:app --reload
prod:
python3 -m uvicorn main:app
@ -16,6 +17,6 @@ docker:
clean:
rm -rf app/__pycache__
rm -rf app/paths/__pycache__
rm -rf app/*/__pycache__
rm -rf __pycache__
rm -rf .mypy_cache