make: synced makefiles
This commit is contained in:
parent
4462f85332
commit
64f674caf5
1 changed files with 7 additions and 2 deletions
9
Makefile
9
Makefile
|
|
@ -88,6 +88,10 @@ web-build:
|
||||||
./rhodecode/tests/scripts/static-file-check.sh rhodecode/public/
|
./rhodecode/tests/scripts/static-file-check.sh rhodecode/public/
|
||||||
rm -rf node_modules
|
rm -rf node_modules
|
||||||
|
|
||||||
|
.PHONY: ruff-check
|
||||||
|
## run a ruff analysis
|
||||||
|
ruff-check:
|
||||||
|
ruff check --ignore F401 --ignore I001 --ignore E402 --ignore E501 --ignore F841 --exclude rhodecode/lib/dbmigrate --exclude .eggs --exclude .dev .
|
||||||
|
|
||||||
.PHONY: pip-packages
|
.PHONY: pip-packages
|
||||||
## Show outdated packages
|
## Show outdated packages
|
||||||
|
|
@ -123,6 +127,7 @@ dev-cleanup:
|
||||||
|
|
||||||
.PHONY: dev-env
|
.PHONY: dev-env
|
||||||
## make dev-env based on the requirements files and install develop of packages
|
## 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:
|
dev-env:
|
||||||
sudo -u root chown rhodecode:rhodecode /home/rhodecode/.cache/pip/
|
sudo -u root chown rhodecode:rhodecode /home/rhodecode/.cache/pip/
|
||||||
pip install build virtualenv
|
pip install build virtualenv
|
||||||
|
|
@ -143,8 +148,8 @@ sh:
|
||||||
workers?=1
|
workers?=1
|
||||||
|
|
||||||
.PHONY: dev-srv
|
.PHONY: dev-srv
|
||||||
## run gunicorn multi process workers
|
## run gunicorn web server with reloader, use workers=N to set multiworker mode
|
||||||
dev-srv-g:
|
dev-srv:
|
||||||
gunicorn --paste=.dev/dev.ini --bind=0.0.0.0:10020 --config=.dev/gunicorn_config.py --timeout=120 --reload --workers=$(workers)
|
gunicorn --paste=.dev/dev.ini --bind=0.0.0.0:10020 --config=.dev/gunicorn_config.py --timeout=120 --reload --workers=$(workers)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue