reddish / production.ini.example

#
# reddish - Pylons development environment configuration
#
# The %(here)s variable will be replaced with the parent directory of this file
#
[DEFAULT]
debug = false
# 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 = 8080

[app:main]
use = egg:reddish
full_stack = true
static_files = true

cache_dir = %(here)s/data
# Name of session cookie
session.key = reddish
# Allowed domain for cookies
#session.cookie_domain = .my-reddish-site.com

# URI to MongoDB server
mongodb.host = mongodb://user:password@hostname/reddish

# Names of authorized Administrator users
admins = admin
# Displayed admin contact email
contact_email = admin@my-reddish-site.com
# Expiry of 'remember me' cookies
cookie_expires = 1y
# Default frontpage communities
default_communities =
# Noun used to indicate a user
demonym = user
# Plural form of demonym
demonym_pl = users
# Short website description
description =
# Default domain name
domain = my-reddish-site.com
# Accepted domain names which won't result in a redirect
# Implicitly includes above named domain
domains = other-reddish-site.com
# Domain in From header for outgoing email; defaults to 'domain' if missing
email_domain = my-reddish-site.com
# Whether to enable CAPTCHA verification for submissions and registration
enable_captcha = true
# Whether to enable HTTPS by default for logins
enable_https = false
# Whether to force HTTPS on all pages
force_https = false
# Whether to force HTTPS for logins
force_https_login = false
# google_ad_client value for Google AdSense
google_ad_client =
# google_ad_slot value for Google AdSense
google_ad_slot =
# Account value for Google Analytics
google_analytics =
# Headline in title on frontpage
headline =
# Optional alternate domain name for HTTPS requests
https_domain = ssl.my-reddish-site.com
# Optional favicon URI
icon = /icons/my-icon.png
# MIME type for icon
icon_type = image/png
# Comma-separated list of website keywords
keywords =
# Whether to log server errors
log_errors = false
# URI to alternate compiled Javascript
script_name = /script/reddish.js
# Secret used in generating cryptographic hashes
secret = somesecret
# Hostname for SMTP server, defaults to localhost
smtp_host = localhost
# URI to alternate CSS stylesheet
stylesheet = /reddish.css
# Website title
title = reddish

# 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, reddish, mail, mongodb, util

[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_reddish]
level = DEBUG
handlers =
qualname = reddish

[logger_mail]
level = DEBUG
handlers =
qualname = mail

[logger_mongodb]
level = WARN
handlers =
qualname = mongodb

[logger_util]
level = WARN
handlers =
qualname = util

[handler_console]
class = StreamHandler
args = (sys.stderr,)
level = NOTSET
formatter = generic

[formatter_generic]
format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] [%(threadName)s] %(message)s
datefmt = %H:%M:%S
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.