2023-02-14 19:53:57 +04:00
|
|
|
dev:
|
2023-02-15 16:00:30 +04:00
|
|
|
FLASK_DEBUG="true" python3 -m flask run
|
2023-02-14 19:53:57 +04:00
|
|
|
|
|
|
|
prod:
|
2023-02-15 16:00:30 +04:00
|
|
|
python3 -m gunicorn -w 4 "app:create_app()"
|
2023-02-14 19:53:57 +04:00
|
|
|
|
|
|
|
format:
|
|
|
|
python3 -m autopep8 -r --in-place flaskapp/
|
|
|
|
|
|
|
|
check:
|
|
|
|
python3 -m mypy flaskapp/
|
|
|
|
python3 -m pylint flaskapp/
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -rf flaskapp/__pycache__
|
2023-02-15 19:56:28 +04:00
|
|
|
rm -rf __pycache__
|
2023-02-14 19:53:57 +04:00
|
|
|
rm -rf .mypy_cache
|