Page MenuHomeSoftware Heritage

Makefile.local
No OneTemporary

Makefile.local

.PHONY: build-webpack-dev
build-webpack-dev:
npm run build-dev
.PHONY: build-webpack-prod
build-webpack-prod:
npm run build
.PHONY: run-migrations
run-migrations:
cd swh/web && python3 manage.py migrate 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
cd swh/web && python3 manage.py runserver --nostatic
run-django-webpack-prod: build-webpack-prod run-migrations
cd swh/web && python3 manage.py runserver --nostatic --settings=swh.web.settings.production
run-django-server-dev: run-migrations
cd swh/web && python3 manage.py runserver --nostatic
run-django-server-prod: run-migrations
cd swh/web && python3 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

File Metadata

Mime Type
text/plain
Expires
Fri, Jul 4, 2:40 PM (2 d, 22 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3265208

Event Timeline