##// END OF EJS Templates
make: synced makefiles
super-admin -
r5414:62b7cf01 default
parent child Browse files
Show More
@@ -88,6 +88,10 b' web-build:'
88 ./rhodecode/tests/scripts/static-file-check.sh rhodecode/public/
88 ./rhodecode/tests/scripts/static-file-check.sh rhodecode/public/
89 rm -rf node_modules
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 .PHONY: pip-packages
96 .PHONY: pip-packages
93 ## Show outdated packages
97 ## Show outdated packages
@@ -123,6 +127,7 b' dev-cleanup:'
123
127
124 .PHONY: dev-env
128 .PHONY: dev-env
125 ## make dev-env based on the requirements files and install develop of packages
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 dev-env:
131 dev-env:
127 sudo -u root chown rhodecode:rhodecode /home/rhodecode/.cache/pip/
132 sudo -u root chown rhodecode:rhodecode /home/rhodecode/.cache/pip/
128 pip install build virtualenv
133 pip install build virtualenv
@@ -143,8 +148,8 b' sh:'
143 workers?=1
148 workers?=1
144
149
145 .PHONY: dev-srv
150 .PHONY: dev-srv
146 ## run gunicorn multi process workers
151 ## run gunicorn web server with reloader, use workers=N to set multiworker mode
147 dev-srv-g:
152 dev-srv:
148 gunicorn --paste=.dev/dev.ini --bind=0.0.0.0:10020 --config=.dev/gunicorn_config.py --timeout=120 --reload --workers=$(workers)
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