https://forge.softwareheritage.org/source/swh-deposit.git
Raw File
Tip revision: b661938bfb0802f8c52006cbae4ca6793fc39621 authored by Antoine R. Dumont (@ardumont) on 20 September 2017, 15:49:10 UTC
swh.deposit.api: white list / from authentication
Tip revision: b661938
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