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
RevLine 
[6340]1SQLDB="exodus.db"
[6258]2
[6255]3help:
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
9debug:
10#Run server in extra debugging mode
[6340]11 @./bin/django runserver_plus
[6255]12
13run:
14#Run server in normal power mode
[6340]15 @./bin/django runserver
[6255]16
[6258]17init:
[6255]18#Re-init database
[6340]19 @echo "no" | ./bin/django syncdb
[6255]20
[6259]21debug-init:
[6314]22#Put debug.sql in database
[6259]23 @sqlite3 $(SQLDB) < debug.sql
24
[6255]25dist-clean:
26#Remove database
[6258]27 @rm -vf $(SQLDB)
[6256]28
[6259]29new: dist-clean init debug-init debug
[6313]30#Fresh start, with new datebase which include debugging code
[6314]31
[6319]32batch: 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.