https://forge.softwareheritage.org/source/swh-deposit.git
Raw File
Tip revision: 5e6343e125a9965abbb35a988b0eead7a611296b authored by Antoine R. Dumont (@ardumont) on 22 September 2017, 16:58:48 UTC
api: Separate the replace metadata from the replace archive routine
Tip revision: 5e6343e
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

db-create:
	createdb swh-deposit-dev

db-prepare:
	$(MANAGE) makemigrations

db-migrate:
	$(MANAGE) migrate

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

run-dev:
	$(MANAGE) runserver

run:
	gunicorn3 swh.deposit.wsgi

test:
	cd swh && python3 -m manage test
back to top