Show More
@@ -16,6 +16,7 b' clean:' | |||||
16 | find . -type f \( -iname '*.c' -o -iname '*.pyc' -o -iname '*.so' -o -iname '*.orig' \) -exec rm '{}' ';' |
|
16 | find . -type f \( -iname '*.c' -o -iname '*.pyc' -o -iname '*.so' -o -iname '*.orig' \) -exec rm '{}' ';' | |
17 | find . -type d -name "build" -prune -exec rm -rf '{}' ';' |
|
17 | find . -type d -name "build" -prune -exec rm -rf '{}' ';' | |
18 |
|
18 | |||
|
19 | ||||
19 | .PHONY: test |
|
20 | .PHONY: test | |
20 | ## run test-clean and tests |
|
21 | ## run test-clean and tests | |
21 | test: |
|
22 | test: | |
@@ -116,6 +117,7 b' build:' | |||||
116 |
|
117 | |||
117 | .PHONY: dev-env |
|
118 | .PHONY: dev-env | |
118 | ## make dev-env based on the requirements files and install develop of packages |
|
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 | dev-env: |
|
121 | dev-env: | |
120 | pip install build virtualenv |
|
122 | pip install build virtualenv | |
121 | pushd ../rhodecode-vcsserver/ && make dev-env && popd |
|
123 | pushd ../rhodecode-vcsserver/ && make dev-env && popd | |
@@ -129,10 +131,11 b' dev-env:' | |||||
129 | dev-srv: |
|
131 | dev-srv: | |
130 | pserve --reload .dev/dev.ini |
|
132 | pserve --reload .dev/dev.ini | |
131 |
|
133 | |||
|
134 | ||||
132 | .PHONY: dev-srv-g |
|
135 | .PHONY: dev-srv-g | |
133 | ## run gunicorn multi process workers |
|
136 | ## run gunicorn multi process workers | |
134 | dev-srv-g: |
|
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 | # Default command on calling make |
|
141 | # Default command on calling make |
General Comments 0
You need to be logged in to leave comments.
Login now