https://forge.softwareheritage.org/source/swh-deposit.git
Raw File
Tip revision: ced68c3d6dec603211fcf324c216615de4ae9cf0 authored by Antoine R. Dumont (@ardumont) on 18 October 2017, 09:36:40 UTC
New upstream version 0.0.21
Tip revision: ced68c3
Makefile.local
FLAKEFLAGS='--exclude=swh/manage.py,swh/deposit/settings.py,swh/deposit/migrations/'

MANAGE=python3 -m swh.manage

db-drop:
	dropdb swh-deposit-dev || return 0

db-create: db-drop
	createdb swh-deposit-dev

db-prepare:
	$(MANAGE) makemigrations

db-migrate:
	$(MANAGE) migrate

db-load-data:
	$(MANAGE) loaddata deposit_data

db-load-private-data: db-load-data
	$(MANAGE) loaddata ../private_data.yaml

run-dev:
	$(MANAGE) runserver

run:
	gunicorn3 -b 127.0.0.1:5006 swh.deposit.wsgi

test:
	./swh/manage.py test
back to top