source:
trunk/Makefile@
6340
Last change on this file since 6340 was 6340, checked in by , 16 years ago | |
---|---|
File size: 698 bytes |
Rev | Line | |
---|---|---|
[6340] | 1 | SQLDB="exodus.db" |
[6258] | 2 | |
[6255] | 3 | help: |
4 | #Usage | |
[6314] | 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' | |
[6255] | 8 | |
9 | debug: | |
10 | #Run server in extra debugging mode | |
[6340] | 11 | @./bin/django runserver_plus |
[6255] | 12 | |
13 | run: | |
14 | #Run server in normal power mode | |
[6340] | 15 | @./bin/django runserver |
[6255] | 16 | |
[6258] | 17 | init: |
[6255] | 18 | #Re-init database |
[6340] | 19 | @echo "no" | ./bin/django syncdb |
[6255] | 20 | |
[6259] | 21 | debug-init: |
[6314] | 22 | #Put debug.sql in database |
[6259] | 23 | @sqlite3 $(SQLDB) < debug.sql |
24 | ||
[6255] | 25 | dist-clean: |
26 | #Remove database | |
[6258] | 27 | @rm -vf $(SQLDB) |
[6256] | 28 | |
[6259] | 29 | new: dist-clean init debug-init debug |
[6313] | 30 | #Fresh start, with new datebase which include debugging code |
[6314] | 31 | |
[6319] | 32 | batch: dist-clean init debug-init run |
33 | #Intended usage for batch runs only e.g. no debug server | |
34 | ||
[6340] | 35 | |
36 |
Note:
See TracBrowser
for help on using the repository browser.