| 1 |
# Server Specific Configurations |
| 2 |
server = { |
| 3 |
'port': '8080', |
| 4 |
'host': '0.0.0.0' |
| 5 |
} |
| 6 |
|
| 7 |
# Pecan Application Configurations |
| 8 |
app = { |
| 9 |
'root': '${package}.controllers.root.RootController', |
| 10 |
'modules': ['${package}'], |
| 11 |
'static_root': '%(confdir)s/../../public', |
| 12 |
'template_path': '%(confdir)s/../templates', |
| 13 |
'debug': True, |
| 14 |
'errors': { |
| 15 |
'404': '/error/404', |
| 16 |
'__force_dict__': True |
| 17 |
} |
| 18 |
} |
| 19 |
|
| 20 |
# Custom Configurations must be in Python dictionary format:: |
| 21 |
# |
| 22 |
# foo = {'bar':'baz'} |
| 23 |
# |
| 24 |
# All configurations are accessible at:: |
| 25 |
# pecan.conf |