update Makefile

This commit is contained in:
Sam
2020-07-15 09:19:03 +02:00
parent d2768c015c
commit 36ded61e36
3 changed files with 6 additions and 3 deletions

View File

@ -79,7 +79,7 @@ recalculate:
$(FLASK) recalculate
run:
$(MAKE) P="run-server run-client" make-p
$(MAKE) P="run-server run-workers run-client" make-p
run-client:
serve -s fittrackee_client/build -l 3000 >> serve.log 2>&1
@ -88,7 +88,7 @@ run-server:
cd fittrackee_api && $(GUNICORN) -b 127.0.0.1:5000 "fittrackee_api:create_app()" --error-logfile ../gunicorn-error.log
run-workers:
$(FLASK) worker --processes=1
$(FLASK) worker --processes=$(WORKERS_PROCESSES) >> workers.log 2>&1
serve-python:
$(FLASK) run --with-threads -h $(HOST) -p $(API_PORT)