diff --git a/Makefile b/Makefile --- a/Makefile +++ b/Makefile @@ -1,5 +1,7 @@ +# required for pushd to work.. #SHELL = /bin/bash + # set by: PATH_TO_OUTDATED_PACKAGES=/some/path/outdated_packages.py OUTDATED_PACKAGES = ${PATH_TO_OUTDATED_PACKAGES} @@ -30,7 +32,8 @@ test-clean: test-only: PYTHONHASHSEED=random \ py.test -x -vv -r xw -p no:sugar \ - --cov-report=term-missing --cov-report=html --cov=vcsserver vcsserver + --cov-report=term-missing --cov-report=html \ + --cov=vcsserver vcsserver .PHONY: pip-packages @@ -60,6 +63,11 @@ dev-srv: pserve --reload .dev/dev.ini +.PHONY: dev-srv-g +## run gunicorn multi process workers +dev-srv-g: + gunicorn --workers=4 --paste .dev/dev.ini --bind=0.0.0.0:10010 --worker-class=sync --threads=1 --config=configs/gunicorn_config.py --timeout=120 + # Default command on calling make .DEFAULT_GOAL := show-help