Last change
on this file since 6282 was 6259, checked in by roland, 17 years ago |
added debug-init, to only init debug info once
|
File size:
588 bytes
|
Rev | Line | |
---|
[6258] | 1 | SQLDB="sqllite.db"
|
---|
| 2 |
|
---|
[6255] | 3 | help:
|
---|
| 4 | #Usage
|
---|
| 5 | @grep -e '[a-z\-]:' -e '^#' Makefile |\
|
---|
| 6 | sed -e :a -e '$!N;s/\n#/ /;ta' -e 'P;D' | sed -e 's/^/make /g'
|
---|
| 7 |
|
---|
| 8 | debug:
|
---|
| 9 | #Run server in extra debugging mode
|
---|
| 10 | @./sampleserver/manage.py runserver_plus 8000 --pythonpath=`pwd`
|
---|
| 11 |
|
---|
| 12 | run:
|
---|
| 13 | #Run server in normal power mode
|
---|
| 14 | @./sampleserver/manage.py runserver 8000 --pythonpath=`pwd`
|
---|
| 15 |
|
---|
[6258] | 16 | init:
|
---|
[6255] | 17 | #Re-init database
|
---|
| 18 | @./sampleserver/manage.py syncdb --pythonpath=`pwd`
|
---|
| 19 |
|
---|
[6259] | 20 | debug-init:
|
---|
| 21 | # Put debug.sql in database
|
---|
| 22 | @sqlite3 $(SQLDB) < debug.sql
|
---|
| 23 |
|
---|
[6255] | 24 | dist-clean:
|
---|
| 25 | #Remove database
|
---|
[6258] | 26 | @rm -vf $(SQLDB)
|
---|
[6256] | 27 |
|
---|
[6259] | 28 | new: dist-clean init debug-init debug
|
---|
Note:
See
TracBrowser
for help on using the repository browser.