##// END OF EJS Templates
makefile: added some helpers
super-admin -
r5181:98dea20a default
parent child Browse files
Show More
@@ -16,6 +16,7 b' clean:'
16 16 find . -type f \( -iname '*.c' -o -iname '*.pyc' -o -iname '*.so' -o -iname '*.orig' \) -exec rm '{}' ';'
17 17 find . -type d -name "build" -prune -exec rm -rf '{}' ';'
18 18
19
19 20 .PHONY: test
20 21 ## run test-clean and tests
21 22 test:
@@ -116,6 +117,7 b' build:'
116 117
117 118 .PHONY: dev-env
118 119 ## make dev-env based on the requirements files and install develop of packages
120 ## Cleanup: pip freeze | grep -v "^-e" | grep -v "@" | xargs pip uninstall -y
119 121 dev-env:
120 122 pip install build virtualenv
121 123 pushd ../rhodecode-vcsserver/ && make dev-env && popd
@@ -129,10 +131,11 b' dev-env:'
129 131 dev-srv:
130 132 pserve --reload .dev/dev.ini
131 133
134
132 135 .PHONY: dev-srv-g
133 136 ## run gunicorn multi process workers
134 137 dev-srv-g:
135 gunicorn --paste .dev/dev.ini --bind=0.0.0.0:10020 --config=.dev/gunicorn_config.py
138 gunicorn --workers=2 --paste .dev/dev.ini --bind=0.0.0.0:10020 --config=.dev/gunicorn_config.py
136 139
137 140
138 141 # Default command on calling make
General Comments 0
You need to be logged in to leave comments. Login now