forked from palewire/django-calaccess-campaign-browser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
33 lines (26 loc) · 798 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
.PHONY: bootstrap docs reload rs runserver shell test
bootstrap:
mysqladmin -h localhost -u root -pmysql drop campaign_finance
mysqladmin -h localhost -u root -pmysql create campaign_finance
python example/manage.py syncdb
python example/manage.py build_campaign_finance
python example/manage.py collectstatic --noinput
python example/manage.py runserver
docs:
cd docs && make livehtml
reload:
clear
python example/manage.py dropcalaccesscampaignbrowser
python example/manage.py migrate --noinput
python example/manage.py loadcalaccesscampaignfilers
rs:
python example/manage.py runserver
runserver:
python example/manage.py runserver
shell:
python example/manage.py shell
test:
pep8 campaign_finance
pyflakes campaign_finance
coverage run setup.py test
coverage report -m