Mercurial > p > roundup > code
comparison doc/customizing.txt @ 2588:e80604dbe2af
document the STATIC_FILES config var
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Tue, 20 Jul 2004 00:15:23 +0000 |
| parents | 7575854ecee5 |
| children | 809758599cdc |
comparison
equal
deleted
inserted
replaced
| 2587:0db668d44917 | 2588:e80604dbe2af |
|---|---|
| 1 =================== | 1 =================== |
| 2 Customising Roundup | 2 Customising Roundup |
| 3 =================== | 3 =================== |
| 4 | 4 |
| 5 :Version: $Revision: 1.143 $ | 5 :Version: $Revision: 1.144 $ |
| 6 | 6 |
| 7 .. This document borrows from the ZopeBook section on ZPT. The original is at: | 7 .. This document borrows from the ZopeBook section on ZPT. The original is at: |
| 8 http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx | 8 http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx |
| 9 | 9 |
| 10 .. contents:: | 10 .. contents:: |
| 116 | 116 |
| 117 **TEMPLATES** - ``os.path.join(TRACKER_HOME, 'html')`` | 117 **TEMPLATES** - ``os.path.join(TRACKER_HOME, 'html')`` |
| 118 This is the directory that the HTML templates reside in. By default they are | 118 This is the directory that the HTML templates reside in. By default they are |
| 119 in the tracker home. | 119 in the tracker home. |
| 120 | 120 |
| 121 **STATIC_FILES** - e.g. ``os.path.join(TRACKER_HOME, 'files')`` | |
| 122 This *optional* variable defines the directory that static files are served | |
| 123 from (files with the URL ``/@@file/<filename>``). If this is not defined, | |
| 124 then static files are served from the TEMPLATES directory. | |
| 125 | |
| 121 **TRACKER_NAME** - ``'Roundup issue tracker'`` | 126 **TRACKER_NAME** - ``'Roundup issue tracker'`` |
| 122 A descriptive name for your roundup tracker. This is sent out in e-mails and | 127 A descriptive name for your roundup tracker. This is sent out in e-mails and |
| 123 appears in the heading of CGI pages. | 128 appears in the heading of CGI pages. |
| 124 | 129 |
| 125 **TRACKER_EMAIL** - ``'issue_tracker@%s'%MAIL_DOMAIN`` | 130 **TRACKER_EMAIL** - ``'issue_tracker@%s'%MAIL_DOMAIN`` |
| 240 # This is the directory that the database is going to be stored in | 245 # This is the directory that the database is going to be stored in |
| 241 DATABASE = os.path.join(TRACKER_HOME, 'db') | 246 DATABASE = os.path.join(TRACKER_HOME, 'db') |
| 242 | 247 |
| 243 # This is the directory that the HTML templates reside in | 248 # This is the directory that the HTML templates reside in |
| 244 TEMPLATES = os.path.join(TRACKER_HOME, 'html') | 249 TEMPLATES = os.path.join(TRACKER_HOME, 'html') |
| 250 | |
| 251 # Optional: the directory that static files are served from (files with | |
| 252 # the URL /@@file/<filename>). If this is not defined, then static files | |
| 253 # are served from the TEMPLATES directory. | |
| 254 # STATIC_FILES = os.path.join(TRACKER_HOME, 'files') | |
| 245 | 255 |
| 246 # A descriptive name for your roundup tracker | 256 # A descriptive name for your roundup tracker |
| 247 TRACKER_NAME = 'Roundup issue tracker' | 257 TRACKER_NAME = 'Roundup issue tracker' |
| 248 | 258 |
| 249 # The email address that mail to roundup should go to | 259 # The email address that mail to roundup should go to |
