2010-01-15 20:55:30 +00:00
|
|
|
#
|
|
|
|
# ScribeEngine - Pylons configuration
|
|
|
|
#
|
|
|
|
# The %(here)s variable will be replaced with the parent directory of this file
|
|
|
|
#
|
|
|
|
[DEFAULT]
|
|
|
|
debug = true
|
|
|
|
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 = ${app_instance_secret}
|
2010-04-12 06:01:11 +00:00
|
|
|
beaker.session.timeout = 1209600
|
2010-01-15 20:55:30 +00:00
|
|
|
app_instance_uuid = ${app_instance_uuid}
|
|
|
|
|
|
|
|
# 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:///production.db
|
|
|
|
|
2010-04-15 05:47:15 +00:00
|
|
|
# Media upload directory
|
|
|
|
paths.media = %(here)s/media
|
2010-04-12 06:01:11 +00:00
|
|
|
# Themes directory
|
|
|
|
paths.themes = %(here)s/themes
|
|
|
|
|
|
|
|
# Security settings
|
|
|
|
security.salt = secretsalt
|
|
|
|
|
|
|
|
# Mail server settings
|
|
|
|
mail.on = false
|
|
|
|
mail.manager = immediate
|
|
|
|
mail.transport = smtp
|
|
|
|
mail.smtp.server = mail.mydomain.com
|
|
|
|
mail.smtp.username = mymailusername
|
|
|
|
mail.smtp.password = mymailpassword
|
|
|
|
|
|
|
|
# Server-related settings
|
|
|
|
server.timezone = 'Africa/Johannesburg'
|
|
|
|
|
2010-04-14 06:47:53 +00:00
|
|
|
# Setup options (for when you run "paster setup-app config.ini")
|
|
|
|
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
|
|
|
|
|
|
|
|
[handlers]
|
|
|
|
keys = console
|
|
|
|
|
|
|
|
[formatters]
|
|
|
|
keys = generic
|
|
|
|
|
|
|
|
[logger_root]
|
|
|
|
level = INFO
|
|
|
|
handlers = console
|
|
|
|
|
|
|
|
[handler_console]
|
|
|
|
class = StreamHandler
|
|
|
|
args = (sys.stderr,)
|
|
|
|
level = NOTSET
|
|
|
|
formatter = generic
|
|
|
|
|
|
|
|
[formatter_generic]
|
|
|
|
format = %(asctime)s %(levelname)-5.5s [%(name)s] %(message)s
|