Last change
on this file 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
|
Rev | Line | |
---|
[6353] | 1 | SQLDB="exodus/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 |
|
---|
[6343] | 9 | init: ./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 |
|
---|
| 19 | debug: init
|
---|
[6255] | 20 | #Run server in extra debugging mode
|
---|
[6340] | 21 | @./bin/django runserver_plus
|
---|
[6255] | 22 |
|
---|
[6343] | 23 | run: init
|
---|
[6255] | 24 | #Run server in normal power mode
|
---|
[6340] | 25 | @./bin/django runserver
|
---|
[6255] | 26 |
|
---|
| 27 |
|
---|
[6343] | 28 | debug-init: init
|
---|
[6314] | 29 | #Put debug.sql in database
|
---|
[6259] | 30 | @sqlite3 $(SQLDB) < debug.sql
|
---|
| 31 |
|
---|
[6411] | 32 | dbdebug:
|
---|
| 33 | #Put debug.sql in database
|
---|
| 34 | @sqlite3 $(SQLDB) < debug.sql
|
---|
| 35 |
|
---|
| 36 | dbclean:
|
---|
| 37 | # remove the database
|
---|
| 38 | @rm -r $(SQLDB)
|
---|
| 39 |
|
---|
[6343] | 40 | clean:
|
---|
| 41 | #Remove all created data, development ground, but keep downloaded files
|
---|
| 42 | @rm -f $(SQLDB)
|
---|
[6353] | 43 | @rm -Rf develop-eggs eggs parts .installed.cfg bin
|
---|
[6256] | 44 |
|
---|
[6343] | 45 | dist-clean: clean
|
---|
| 46 | #Remove all created data, development ground and downloaded files
|
---|
| 47 | @rm -Rf downloads
|
---|
| 48 |
|
---|
| 49 | test: init
|
---|
| 50 | # Testing suite
|
---|
| 51 | @./bin/test
|
---|
| 52 |
|
---|
| 53 | new: clean debug-init debug
|
---|
[6313] | 54 | #Fresh start, with new datebase which include debugging code
|
---|
[6314] | 55 |
|
---|
[6343] | 56 | batch: clean debug-init run
|
---|
[6319] | 57 | #Intended usage for batch runs only e.g. no debug server
|
---|
Note:
See
TracBrowser
for help on using the repository browser.