##// END OF EJS Templates
makefiles: added gunicorn launch command
super-admin -
r1116:43468349 python3
parent child Browse files
Show More
@@ -1,5 +1,7 b''
1 # required for pushd to work..
1 2 #SHELL = /bin/bash
2 3
4
3 5 # set by: PATH_TO_OUTDATED_PACKAGES=/some/path/outdated_packages.py
4 6 OUTDATED_PACKAGES = ${PATH_TO_OUTDATED_PACKAGES}
5 7
@@ -30,7 +32,8 b' test-clean:'
30 32 test-only:
31 33 PYTHONHASHSEED=random \
32 34 py.test -x -vv -r xw -p no:sugar \
33 --cov-report=term-missing --cov-report=html --cov=vcsserver vcsserver
35 --cov-report=term-missing --cov-report=html \
36 --cov=vcsserver vcsserver
34 37
35 38
36 39 .PHONY: pip-packages
@@ -60,6 +63,11 b' dev-srv:'
60 63 pserve --reload .dev/dev.ini
61 64
62 65
66 .PHONY: dev-srv-g
67 ## run gunicorn multi process workers
68 dev-srv-g:
69 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
70
63 71 # Default command on calling make
64 72 .DEFAULT_GOAL := show-help
65 73
General Comments 0
You need to be logged in to leave comments. Login now