https://forge.softwareheritage.org/source/swh-deposit.git
Raw File
Tip revision: 1fca33111c688d05abf5856d8e1840a6f80934f8 authored by Antoine R. Dumont (@ardumont) on 01 August 2017, 10:20:21 UTC
Makefile: Install basic operations
Tip revision: 1fca331
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
back to top