source: branches/exodus-roland/Makefile@ 6473

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

A check in with some addons, still code in progress.
Some niceties in admin.

File size: 1.2 KB
Line 
1SQLDB="exodus/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
9init: ./bin/buildout
10#Setup environment database
11 @./bin/buildout
12 @echo "no" | ./bin/django syncdb
13
14./bin/buildout:
15#Setup environment database - part creation
16 @python bootstrap.py
17
18
19debug: init
20#Run server in extra debugging mode
21 @./bin/django runserver_plus
22
23run: init
24#Run server in normal power mode
25 @./bin/django runserver
26
27
28debug-init: init
29#Put debug.sql in database
30 @sqlite3 $(SQLDB) < debug.sql
31
32dbdebug:
33#Put debug.sql in database
34 @sqlite3 $(SQLDB) < debug.sql
35
36dbclean:
37# remove the database
38 @rm -r $(SQLDB)
39
40clean:
41#Remove all created data, development ground, but keep downloaded files
42 @rm -f $(SQLDB)
43 @rm -Rf develop-eggs eggs parts .installed.cfg bin
44
45dist-clean: clean
46#Remove all created data, development ground and downloaded files
47 @rm -Rf downloads
48
49test: init
50# Testing suite
51 @./bin/test
52
53new: clean debug-init debug
54#Fresh start, with new datebase which include debugging code
55
56batch: clean debug-init run
57#Intended usage for batch runs only e.g. no debug server
Note: See TracBrowser for help on using the repository browser.