tmpl-flask/Makefile

17 lines
293 B
Makefile

dev:
FLASK_DEBUG="true" python3 -m flask run
prod:
python3 -m gunicorn -w 4 "app:create_app()"
format:
python3 -m autopep8 -r --in-place flaskapp/
check:
python3 -m mypy flaskapp/
python3 -m pylint flaskapp/
clean:
rm -rf flaskapp/__pycache__
rm -rf __pycache__
rm -rf .mypy_cache