Rev | Line | |
---|
[10114] | 1 | [DEFAULT] |
---|
| 2 | # the directory where all real diazo config is done (no trailing slash) |
---|
| 3 | LAYOUT_DIR = %(here)s/kofa |
---|
| 4 | STATIC_DIR = %(LAYOUT_DIR)s/static |
---|
| 5 | |
---|
| 6 | [server:main] |
---|
| 7 | use = egg:Paste#http |
---|
| 8 | host = 0.0.0.0 |
---|
| 9 | port = 8000 |
---|
| 10 | |
---|
| 11 | [composite:main] |
---|
| 12 | use = egg:Paste#urlmap |
---|
| 13 | /static/bootstrap = bootstrap |
---|
| 14 | /static/static = static |
---|
| 15 | / = default |
---|
| 16 | |
---|
| 17 | [app:bootstrap] |
---|
| 18 | use = egg:Paste#static |
---|
[10878] | 19 | document_root = %(here)s/src/bootstrap/dist/ |
---|
[10114] | 20 | |
---|
| 21 | [app:static] |
---|
| 22 | use = egg:Paste#static |
---|
| 23 | document_root = %(LAYOUT_DIR)s/static/ |
---|
| 24 | |
---|
| 25 | [pipeline:default] |
---|
| 26 | pipeline = theme |
---|
| 27 | content |
---|
| 28 | |
---|
| 29 | [filter:theme] |
---|
| 30 | use = egg:diazo |
---|
| 31 | rules = %(LAYOUT_DIR)s/base.xml |
---|
| 32 | prefix = /static |
---|
| 33 | debug = true |
---|
| 34 | doctype = <!DOCTYPE html> |
---|
| 35 | |
---|
| 36 | [app:content] |
---|
| 37 | use = egg:Paste#proxy |
---|
| 38 | # this one 'diazofies' some Grok instance named 'app', served on |
---|
| 39 | # http://localhost:8080/app/ and delivers filtered results to |
---|
| 40 | # http://localhost:8000/ |
---|
| 41 | address = http://127.0.0.1:8080/app/++vh++http:localhost:8000/++/ |
---|
Note: See
TracBrowser for help on using the repository browser.