|
|
|
###
|
|
|
|
# app configuration
|
|
|
|
# https://docs.pylonsproject.org/projects/pyramid/en/latest/narr/environment.html
|
|
|
|
###
|
|
|
|
|
|
|
|
[app:main]
|
|
|
|
use = egg:superx_budget
|
|
|
|
|
|
|
|
pwd.db =
|
|
|
|
$argon2id$v=19$m=102400,t=2,p=8$f48xZqyVUsoZg5AyJmRszQ$5Bn/u67+2pHNBxe5g0UFnw
|
|
|
|
$argon2id$v=19$m=102400,t=2,p=8$vheCMKa0dq7V2nuPUWrtXQ$pfomI8eG74mKulf1Elp0JA
|
|
|
|
|
|
|
|
auth.secret = "change me in production"
|
|
|
|
session.secret = "change me in production"
|
|
|
|
budgets.dir = %(here)s/test_data
|
|
|
|
|
|
|
|
pyramid.reload_templates = true
|
|
|
|
pyramid.includes =
|
|
|
|
pyramid_mailer.debug
|
|
|
|
|
|
|
|
mail.host = "localhost" # SMTP host
|
|
|
|
mail.port = 2525 # SMTP port
|
|
|
|
mail.username = "" # SMTP username
|
|
|
|
mail.password = "" # SMTP password
|
|
|
|
mail.tls = false # Use TLS
|
|
|
|
mail.ssl = false # Use SSL
|
|
|
|
mail.default_sender = "" # Default from address
|
|
|
|
mail.debug = 0 # SMTP debug level
|
|
|
|
mail.debug_include_bcc = true # Include Bcc headers when Debugging
|
|
|
|
|
|
|
|
[pshell]
|
|
|
|
setup = ordr3.pshell.setup
|
|
|
|
|
|
|
|
###
|
|
|
|
# wsgi server configuration
|
|
|
|
###
|
|
|
|
|
|
|
|
[server:main]
|
|
|
|
use = egg:waitress#main
|
|
|
|
listen = localhost:6543
|
|
|
|
|
|
|
|
###
|
|
|
|
# logging configuration
|
|
|
|
# https://docs.pylonsproject.org/projects/pyramid/en/latest/narr/logging.html
|
|
|
|
###
|
|
|
|
|
|
|
|
[loggers]
|
|
|
|
keys = root, ordr3, sqlalchemy
|
|
|
|
|
|
|
|
[handlers]
|
|
|
|
keys = console
|
|
|
|
|
|
|
|
[formatters]
|
|
|
|
keys = generic
|
|
|
|
|
|
|
|
[logger_root]
|
|
|
|
level = INFO
|
|
|
|
handlers = console
|
|
|
|
|
|
|
|
[logger_ordr3]
|
|
|
|
level = DEBUG
|
|
|
|
handlers =
|
|
|
|
qualname = ordr3
|
|
|
|
|
|
|
|
[logger_sqlalchemy]
|
|
|
|
level = WARN
|
|
|
|
handlers =
|
|
|
|
qualname = sqlalchemy.engine
|
|
|
|
# "level = INFO" logs SQL queries.
|
|
|
|
# "level = DEBUG" logs SQL queries and results.
|
|
|
|
# "level = WARN" logs neither. (Recommended for production systems.)
|
|
|
|
|
|
|
|
[handler_console]
|
|
|
|
class = StreamHandler
|
|
|
|
args = (sys.stderr,)
|
|
|
|
level = NOTSET
|
|
|
|
formatter = generic
|
|
|
|
|
|
|
|
[formatter_generic]
|
|
|
|
format = %(asctime)s %(levelname)-5.5s [%(name)s:%(lineno)s][%(threadName)s] %(message)s
|