This repository has been archived on 2024-11-20. You can view files and clone it, but cannot push or open issues or pull requests.
old-scribeengine/development.ini

109 lines
2.5 KiB
INI
Raw Permalink Normal View History

2010-01-15 20:55:30 +00:00
#
# ScribeEngine - 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:ScribeEngine
full_stack = true
static_files = true
cache_dir = %(here)s/data
beaker.session.key = scribeengine
beaker.session.secret = somesecret
beaker.session.timeout = 1209600
2010-01-15 20:55:30 +00:00
# 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
# SQLAlchemy database URL
sqlalchemy.url = sqlite:///%(here)s/scribeengine.sqlite
# Media upload directory
2010-11-11 06:16:08 +00:00
paths.media = %(here)s/scribeengine/public/files
2010-01-15 20:55:30 +00:00
# Themes directory
paths.themes = %(here)s/themes
# Security settings
2010-01-18 20:09:58 +00:00
security.salt = secretsalt
2010-01-15 20:55:30 +00:00
2010-03-09 12:18:43 +00:00
# Mail server settings
2010-01-18 20:09:58 +00:00
mail.on = false
2010-01-15 20:55:30 +00:00
mail.manager = immediate
mail.transport = smtp
2010-01-18 20:09:58 +00:00
mail.smtp.server = mail.mydomain.com
mail.smtp.username = mymailusername
mail.smtp.password = mymailpassword
2010-01-15 20:55:30 +00:00
2010-03-09 12:18:43 +00:00
# Server-related settings
server.timezone = 'Africa/Johannesburg'
2010-04-14 06:47:53 +00:00
# Setup options
setup.create_tables = true
setup.create_user = false
setup.blog_details = false
2010-01-15 20:55:30 +00:00
# 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, routes, scribeengine, sqlalchemy
[handlers]
keys = console
[formatters]
keys = generic
[logger_root]
level = INFO
handlers = console
[logger_routes]
level = INFO
handlers =
qualname = routes.middleware
# "level = DEBUG" logs the route matched and routing variables.
[logger_scribeengine]
level = DEBUG
handlers =
qualname = scribeengine
[logger_sqlalchemy]
level = INFO
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,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
datefmt = %H:%M:%S