https://forge.softwareheritage.org/source/swh-deposit.git
Raw File
Tip revision: 7209ccc3118cb4b98f040f29d7790598cbfe0575 authored by Antoine R. Dumont (@ardumont) on 21 September 2017, 08:25:41 UTC
swh.deposit.config: Centralize default config in .config module
Tip revision: 7209ccc
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