You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
.PHONY: run debug clean
bin/activate: requirements.txt test -f bin/activate || $(shell which python3) -m venv . bin/pip install -Ur requirements.txt touch bin/activate
run: bin/activate . bin/activate; FLASK_SETTINGS_FILE=../config/prod.cfg FLASK_ENV=production FLASK_APP=start.py flask run --host=0.0.0.0
debug: bin/activate . bin/activate; FLASK_SETTINGS_FILE=../config/dev.cfg FLASK_ENV=development FLASK_APP=start.py flask run --host=0.0.0.0
clean: rm -rf bin/ include/ lib/ lib64/ __pycache__/ share/; rm pyvenv.cfg
|