Last change
on this file since 6473 was 6434, checked in by roland, 16 years ago |
Work in progress for interface forms.
|
File size:
1.3 KB
|
Line | |
---|
1 | SQLDB="exodus/exodus.db"
|
---|
2 |
|
---|
3 | help:
|
---|
4 | #Usage
|
---|
5 | @grep -e '[a-z\-]:' -e '^#' Makefile | sed -e 's/:.*/:/g' | tr '\n' '@' |\
|
---|
6 | sed -e 's/@#/ /g' -e 's/@$$//g' | tr '@' '\n' |\
|
---|
7 | sed -e 's/^/make /g'
|
---|
8 |
|
---|
9 | init: ./bin/buildout
|
---|
10 | #Setup environment database
|
---|
11 | @./bin/buildout
|
---|
12 | @echo "no" | ./bin/django syncdb
|
---|
13 |
|
---|
14 | syncdb:
|
---|
15 | # syncdatabase
|
---|
16 | @echo "no" | ./bin/django syncdb
|
---|
17 |
|
---|
18 | ./bin/buildout:
|
---|
19 | #Setup environment database - part creation
|
---|
20 | @python bootstrap.py
|
---|
21 |
|
---|
22 |
|
---|
23 | debug: init
|
---|
24 | #Run server in extra debugging mode
|
---|
25 | @./bin/django runserver_plus
|
---|
26 |
|
---|
27 | run: init
|
---|
28 | #Run server in normal power mode
|
---|
29 | @./bin/django runserver
|
---|
30 |
|
---|
31 |
|
---|
32 | debug-init: init
|
---|
33 | #Put debug.sql in database
|
---|
34 | @sqlite3 $(SQLDB) < debug.sql
|
---|
35 |
|
---|
36 | dbdebug:
|
---|
37 | #Put debug.sql in database
|
---|
38 | @sqlite3 $(SQLDB) < debug.sql
|
---|
39 |
|
---|
40 | dbclean:
|
---|
41 | # remove the database
|
---|
42 | @rm -r $(SQLDB)
|
---|
43 |
|
---|
44 | clean:
|
---|
45 | #Remove all created data, development ground, but keep downloaded files
|
---|
46 | @rm -f $(SQLDB)
|
---|
47 | @rm -Rf develop-eggs eggs parts .installed.cfg bin
|
---|
48 |
|
---|
49 | dist-clean: clean
|
---|
50 | #Remove all created data, development ground and downloaded files
|
---|
51 | @rm -Rf downloads
|
---|
52 |
|
---|
53 | test: init
|
---|
54 | # Testing suite
|
---|
55 | @./bin/test
|
---|
56 |
|
---|
57 | genesis:
|
---|
58 | # import data from exodus
|
---|
59 | @./bin/django runscript genesis_to_exodus
|
---|
60 |
|
---|
61 | new: clean debug-init debug
|
---|
62 | #Fresh start, with new datebase which include debugging code
|
---|
63 |
|
---|
64 | batch: clean debug-init run
|
---|
65 | #Intended usage for batch runs only e.g. no debug server
|
---|
Note:
See
TracBrowser
for help on using the repository browser.