forked from quintanilhar/atados
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
40 lines (29 loc) · 765 Bytes
/
Copy pathMakefile
File metadata and controls
40 lines (29 loc) · 765 Bytes
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
35
36
37
38
39
40
clean:
@find . -name "*.pyc" -delete
db:
@python ./manage.py migrate
install:
@pip install -r requirements.txt
@python ./manage.py migrate
run:
@python ./manage.py runserver
pep8:
@pep8 --exclude 'migrations' .
test:
@coverage run --source=atados_core manage.py test -s -v 2
coverage:
@coverage run --source=atados_core manage.py test
@coverage html
@open coverage_html_report/index.html
rebuild_index:
@python ./manage.py rebuild_index
dump:
@python ./manage.py dumpdata atados_core > atados_core/fixtures/data.json
dumpoauth2:
@python ./manage.py dumpdata oauth2 > atados_core/fixtures/oauth.json
makemessages:
@cd atados_core; \
django-admin.py makemessages --all
compilemessages:
@cd atados_core; \
django-admin.py compilemessages