https://forge.softwareheritage.org/source/swh-deposit.git
Revision 92447854267e8c463f20468fa7474e1c5a317bb4 authored by Antoine R. Dumont (@ardumont) on 27 September 2017, 09:29:10 UTC, committed by Antoine R. Dumont (@ardumont) on 27 September 2017, 09:33:09 UTC
1 parent 2e176af
Raw File
Tip revision: 92447854267e8c463f20468fa7474e1c5a317bb4 authored by Antoine R. Dumont (@ardumont) on 27 September 2017, 09:29:10 UTC
docs/index.rst: Use right title
Tip revision: 9244785
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