Revision 3445c639bba268d9228619a3c6ab7bd0657eb557 authored by Antoine R. Dumont (@ardumont) on 05 December 2017, 14:42:21 UTC, committed by Antoine R. Dumont (@ardumont) on 05 December 2017, 14:43:18 UTC
1 parent c9f96b0
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 || return 0
db-create: db-drop
createdb swh-deposit-dev
db-prepare:
$(MANAGE) makemigrations
db-migrate:
$(MANAGE) migrate
db-load-data:
$(MANAGE) loaddata deposit_data
db-load-private-data: db-load-data
$(MANAGE) loaddata ../private_data.yaml
run-dev:
$(MANAGE) runserver
run:
gunicorn3 -b 127.0.0.1:5006 swh.deposit.wsgi
test:
./swh/manage.py test
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...