Show More
@@ -88,6 +88,10 b' web-build:' | |||
|
88 | 88 | ./rhodecode/tests/scripts/static-file-check.sh rhodecode/public/ |
|
89 | 89 | rm -rf node_modules |
|
90 | 90 | |
|
91 | .PHONY: ruff-check | |
|
92 | ## run a ruff analysis | |
|
93 | ruff-check: | |
|
94 | ruff check --ignore F401 --ignore I001 --ignore E402 --ignore E501 --ignore F841 --exclude rhodecode/lib/dbmigrate --exclude .eggs --exclude .dev . | |
|
91 | 95 | |
|
92 | 96 | .PHONY: pip-packages |
|
93 | 97 | ## Show outdated packages |
@@ -123,6 +127,7 b' dev-cleanup:' | |||
|
123 | 127 | |
|
124 | 128 | .PHONY: dev-env |
|
125 | 129 | ## make dev-env based on the requirements files and install develop of packages |
|
130 | ## Cleanup: pip freeze | grep -v "^-e" | grep -v "@" | xargs pip uninstall -y | |
|
126 | 131 | dev-env: |
|
127 | 132 | sudo -u root chown rhodecode:rhodecode /home/rhodecode/.cache/pip/ |
|
128 | 133 | pip install build virtualenv |
@@ -143,8 +148,8 b' sh:' | |||
|
143 | 148 | workers?=1 |
|
144 | 149 | |
|
145 | 150 | .PHONY: dev-srv |
|
146 | ## run gunicorn multi process workers | |
|
147 |
dev-srv |
|
|
151 | ## run gunicorn web server with reloader, use workers=N to set multiworker mode | |
|
152 | dev-srv: | |
|
148 | 153 | gunicorn --paste=.dev/dev.ini --bind=0.0.0.0:10020 --config=.dev/gunicorn_config.py --timeout=120 --reload --workers=$(workers) |
|
149 | 154 | |
|
150 | 155 |
General Comments 0
You need to be logged in to leave comments.
Login now