Revision b92e6864ae7fc0b6822535671d81f9c8a476b029 authored by Antoine R. Dumont (@ardumont) on 10 January 2018, 15:14:33 UTC, committed by Antoine R. Dumont (@ardumont) on 10 January 2018, 15:14:33 UTC
1 parent 64bd813
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 ...