-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathMakefile
31 lines (22 loc) · 831 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
clean:
@find . -name "*.pyc" -delete
setup:
@pip install -r requirements.txt
#@sudo chmod 777 /usr/local/virtuoso-opensource/var/lib/virtuoso/db/
test-example-project:
@echo "Running example project tests"
@cd example_project; PYTHONPATH='..' python manage.py test example_app --settings=example_project.settings_test
@echo "----------"
@echo
test-semantic-app:
@echo "Running semantic app tests".
@cd semantic; DJANGO_SETTINGS_MODULE=semantic.settings_test nosetests --verbosity=3 -s .
test-pep8:
@pep8 example_project --ignore=E501,E126,E127,E128
test: test-example-project test-semantic-app
syncdb:
@cd example_project; PYTHONPATH='..' python manage.py syncdb
shell:
@cd example_project; PYTHONPATH='..' python manage.py shell
server: syncdb
@cd example_project; PYTHONPATH='..' python manage.py runserver