2021-01-27 14:50:38 -06:00
|
|
|
|
|
|
|
############################################################
|
|
|
|
#
|
|
|
|
# Development web app config for Theo
|
|
|
|
#
|
|
|
|
############################################################
|
|
|
|
|
|
|
|
|
|
|
|
##############################
|
|
|
|
# rattail
|
|
|
|
##############################
|
|
|
|
|
|
|
|
[rattail.config]
|
2021-01-27 17:03:24 -06:00
|
|
|
include = %(here)s<SEP>rattail.conf
|
2021-01-27 14:50:38 -06:00
|
|
|
|
|
|
|
|
|
|
|
##############################
|
|
|
|
# pyramid
|
|
|
|
##############################
|
|
|
|
|
|
|
|
[app:main]
|
|
|
|
use = egg:Tailbone_Theo
|
|
|
|
|
|
|
|
pyramid.reload_templates = true
|
|
|
|
pyramid.debug_all = true
|
|
|
|
pyramid.default_locale_name = en
|
|
|
|
# you can enable this if you find it helpful
|
|
|
|
#pyramid.includes = pyramid_debugtoolbar
|
|
|
|
|
|
|
|
beaker.session.type = file
|
|
|
|
beaker.session.data_dir = %(here)s/sessions/data
|
|
|
|
beaker.session.lock_dir = %(here)s/sessions/lock
|
|
|
|
# this secret should only be used in development!
|
|
|
|
beaker.session.secret = b15zXlYNNIfzRjDjjyOL
|
|
|
|
beaker.session.key = rattail
|
|
|
|
|
|
|
|
exclog.extra_info = true
|
|
|
|
|
|
|
|
rattail.config = %(__file__)s
|
|
|
|
|
|
|
|
[server:main]
|
|
|
|
use = egg:waitress#main
|
|
|
|
# to bind to all interfaces, set host to 0.0.0.0
|
|
|
|
host = 127.0.0.1
|
|
|
|
port = 9080
|
2023-01-18 15:21:06 -06:00
|
|
|
trusted_proxy = 127.0.0.1
|
2021-01-27 14:50:38 -06:00
|
|
|
|
|
|
|
|
|
|
|
##############################
|
|
|
|
# logging
|
|
|
|
##############################
|
|
|
|
|
|
|
|
[handler_console]
|
|
|
|
level = INFO
|
|
|
|
|
|
|
|
[handler_file]
|
2021-01-27 17:03:24 -06:00
|
|
|
args = (r'<ENVDIR><SEP>app<SEP>log<SEP>web.log', 'a', 1000000, 100, 'utf_8')
|