|
Last change
on this file since 6258 was 6258, checked in by RIck van der Zwet, 17 years ago |
|
Make is more easy to start really fresh every time and make it more easy to include data when started
|
|
File size:
536 bytes
|
| Line | |
|---|
| 1 | SQLDB="sqllite.db"
|
|---|
| 2 |
|
|---|
| 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 | @sqlite3 $(SQLDB) < debug.sql
|
|---|
| 11 | @./sampleserver/manage.py runserver_plus 8000 --pythonpath=`pwd`
|
|---|
| 12 |
|
|---|
| 13 | run:
|
|---|
| 14 | #Run server in normal power mode
|
|---|
| 15 | @./sampleserver/manage.py runserver 8000 --pythonpath=`pwd`
|
|---|
| 16 |
|
|---|
| 17 | init:
|
|---|
| 18 | #Re-init database
|
|---|
| 19 | @./sampleserver/manage.py syncdb --pythonpath=`pwd`
|
|---|
| 20 |
|
|---|
| 21 | dist-clean:
|
|---|
| 22 | #Remove database
|
|---|
| 23 | @rm -vf $(SQLDB)
|
|---|
| 24 |
|
|---|
| 25 | new: dist-clean init debug
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.