update Makefile

This commit is contained in:
Sam 2021-01-20 17:17:22 +01:00
parent 7a1f44ccc5
commit fc491ec455

View File

@ -11,12 +11,14 @@ build-client: lint-client
check-all: lint-all type-check test-python
clean-install:
clean:
rm -rf .mypy_cache
rm -rf .pytest_cache
clean-install: clean
rm -fr $(NODE_MODULES)
rm -fr $(VENV)
rm -rf *.egg-info
rm -rf .mypy_cache
rm -rf .pytest_cache
rm -rf dist/
downgrade-db:
@ -92,7 +94,8 @@ run:
$(MAKE) P="run-server run-workers" make-p
run-server:
cd fittrackee && $(GUNICORN) -b 127.0.0.1:5000 "fittrackee:create_app()" --error-logfile ../gunicorn.log
echo 'Running on http://$(HOST):$(PORT)'
cd fittrackee && $(GUNICORN) -b $(HOST):$(PORT) "fittrackee:create_app()" --error-logfile ../gunicorn.log
run-workers:
$(FLASK) worker --processes=$(WORKERS_PROCESSES) >> dramatiq.log 2>&1