#
# pyfight - Pylons development environment configuration
#
# The %(here)s variable will be replaced with the parent directory of this file
#
[DEFAULT]
debug = true
# Uncomment and replace with the address which should receive any error reports
#email_to = you@yourdomain.com
smtp_server = localhost
error_email_from = paste@localhost
[server:main]
use = egg:Paste#http
host = 0.0.0.0
port = 5000
[app:main]
use = egg:pyfight
full_stack = true
cache_dir = %(here)s/data
beaker.session.key = pyfight
beaker.session.secret = argentinamanitnegra
authkit.setup.method = form, cookie
authkit.form.authenticate.user.data = max:max26
ivan:ivan11
authkit.cookie.secret = iwalkthelinebecauseyourmine
sqlalchemy.url = postgres://fighter:1q2w3e4r5t@localhost:5432/pyfights
#authkit.openid.store.type = file
#authkit.openid.store.config = %(here)s/data
#authkit.openid.session.middleware = beaker.session
#authkit.openid.session.key = authkit_openid
#authkit.openid.session.secret = wtfisthesesecretstrings
#authkit.openid.baseurl = http://localhost:5000
#authkit.openid.path.signedin = /main/index
#authkit.openid.authenticate.user.encrypt = authkit.users:md5
# TODO: we should generate a random secret here
#authkit.openid.authenticate.user.encrypt.secret = anotherlongandboringsecretencryptionstring
# If you'd like to fine-tune the individual locations of the cache data dirs
# for the Cache data, or the Session saves, un-comment the desired settings
# here:
#beaker.cache.data_dir = %(here)s/data/cache
#beaker.session.data_dir = %(here)s/data/sessions
# WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
# Debug mode will enable the interactive debugging tool, allowing ANYONE to
# execute malicious code after an exception is raised.
#set debug = false
# Logging configuration
[loggers]
keys = root, pyfight
[handlers]
keys = console
[formatters]
keys = generic
[logger_root]
level = INFO
handlers = console
[logger_pyfight]
level = DEBUG
handlers =
qualname = pyfight
[handler_console]
class = StreamHandler
args = (sys.stderr,)
level = NOTSET
formatter = generic
[formatter_generic]
format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
datefmt = %H:%M:%S