diff --git a/Makefile b/Makefile --- a/Makefile +++ b/Makefile @@ -16,6 +16,7 @@ clean: find . -type f \( -iname '*.c' -o -iname '*.pyc' -o -iname '*.so' -o -iname '*.orig' \) -exec rm '{}' ';' find . -type d -name "build" -prune -exec rm -rf '{}' ';' + .PHONY: test ## run test-clean and tests test: @@ -116,6 +117,7 @@ build: .PHONY: dev-env ## make dev-env based on the requirements files and install develop of packages +## Cleanup: pip freeze | grep -v "^-e" | grep -v "@" | xargs pip uninstall -y dev-env: pip install build virtualenv pushd ../rhodecode-vcsserver/ && make dev-env && popd @@ -129,10 +131,11 @@ dev-env: dev-srv: pserve --reload .dev/dev.ini + .PHONY: dev-srv-g ## run gunicorn multi process workers dev-srv-g: - gunicorn --paste .dev/dev.ini --bind=0.0.0.0:10020 --config=.dev/gunicorn_config.py + gunicorn --workers=2 --paste .dev/dev.ini --bind=0.0.0.0:10020 --config=.dev/gunicorn_config.py # Default command on calling make