Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9313601
Makefile.local
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
Makefile.local
View Options
.PHONY: build-webpack-dev
build-webpack-dev:
npm run build-dev
.PHONY: build-webpack-dev-no-verbose
build-webpack-dev-no-verbose:
npm run build-dev >/dev/null
.PHONY: build-webpack-prod
build-webpack-prod:
npm run build
.PHONY: run-migrations
run-migrations:
python3 swh/web/manage.py migrate 2>/dev/null
.PHONY: run-tests-migrations
run-tests-migrations:
rm -f swh/web/settings/testdb.sqlite3 2>/dev/null
django-admin migrate --settings=swh.web.settings.tests 2>/dev/null
run-django-webpack-devserver: run-migrations
bash -c "trap 'trap - SIGINT SIGTERM ERR; kill %1' SIGINT SIGTERM ERR; npm run start-dev & cd swh/web && python3 manage.py runserver"
run-django-webpack-dev: build-webpack-dev run-migrations
python3 swh/web/manage.py runserver --nostatic
run-django-webpack-prod: build-webpack-prod run-migrations
python3 swh/web/manage.py runserver --nostatic --settings=swh.web.settings.production
run-django-server-dev: run-migrations
python3 swh/web/manage.py runserver --nostatic
run-django-server-prod: run-migrations
python3 swh/web/manage.py runserver --nostatic --settings=swh.web.settings.production
run-gunicorn-server: run-migrations
gunicorn3 -b 127.0.0.1:5004 swh.web.wsgi
test: build-webpack-dev-no-verbose run-tests-migrations
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jul 3, 11:47 AM (3 d, 12 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3265201
Attached To
rDWAPPS Web applications
Event Timeline
Log In to Comment