forked from palewire/django-calaccess-raw-data
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
34 lines (27 loc) · 884 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
.PHONY: bootstrap docs load rs sh test
bootstrap:
mysqladmin -h localhost -u root -p create calaccess_raw
python example/manage.py makemigrations calaccess_raw
python example/manage.py migrate
python example/manage.py downloadcalaccessrawdata
python example/manage.py collectstatic --noinput
python example/manage.py runserver
docs:
python example/manage.py createcalaccessrawmodeldocs
cd docs && make livehtml
load:
python example/manage.py downloadcalaccessrawdata --skip-download --skip-unzip --skip-prep --skip-clean --keep-files
testload:
dropdb calaccess_raw
createdb calaccess_raw
python example/manage.py migrate
python example/manage.py test calaccess_raw;
rs:
python example/manage.py runserver
sh:
python example/manage.py shell
test:
pep8 calaccess_raw
pyflakes calaccess_raw
coverage run example/manage.py test calaccess_raw
coverage report -m