-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathMakefile
More file actions
59 lines (45 loc) · 1.14 KB
/
Makefile
File metadata and controls
59 lines (45 loc) · 1.14 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
.PHONY: install run static tags
all: install start_database messages load_data
install:
python bootstrap.py
bin/buildout
run:
bin/django migrate damis
bin/django runserver --settings=damis.development
static:
bin/django collectstatic --noinput
tags:
bin/ctags -v
start_database:
rm var/www/media/*/datasets/*.arff
rm -r var/www/media/experiments/*
mkdir var || touch var/db
bin/django syncdb --noinput
bin/django migrate damis
bin/django loaddata initial_components.json
change_db:
bin/django schemamigration damis --auto
bin/django migrate damis
drop_db:
rm var/db
messages:
#../../bin/django makemessages --all
#../../bin/django makemessages -d djangojs --all
# vim locale/lt/LC_MESSAGES/django.po
# vim locale/lt/LC_MESSAGES/djangojs.po
bin/django compilemessages
clean:
git clean -dfx
test:
bin/django test algorithms
graph:
bin/django graph_models --group-models --all-applications -o var/graph.svg
xdg-open var/graph.svg
load_data:
bin/django loaddata initial_components.json
pull:
git pull -r
bin/django collectstatic --noinput
bin/django migrate damis
bin/django compilemessages
sudo /etc/init.d/apache2 restart