source: trunk/Makefile@ 6340

Last change on this file since 6340 was 6340, checked in by roland, 16 years ago

merge -r6328:6339, some files didn't merge correctly and have been added by hand.
README, Makefile and doc/ have been updated to reflect the buildout changes.
Two unittest have been merged into trunk too.

File size: 698 bytes
Line 
1SQLDB="exodus.db"
2
3help:
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
9debug:
10#Run server in extra debugging mode
11 @./bin/django runserver_plus
12
13run:
14#Run server in normal power mode
15 @./bin/django runserver
16
17init:
18#Re-init database
19 @echo "no" | ./bin/django syncdb
20
21debug-init:
22#Put debug.sql in database
23 @sqlite3 $(SQLDB) < debug.sql
24
25dist-clean:
26#Remove database
27 @rm -vf $(SQLDB)
28
29new: dist-clean init debug-init debug
30#Fresh start, with new datebase which include debugging code
31
32batch: dist-clean init debug-init run
33#Intended usage for batch runs only e.g. no debug server
34
35
36
Note: See TracBrowser for help on using the repository browser.