Permalink
Fetching contributors…
Cannot retrieve contributors at this time
190 lines (156 sloc) 4.88 KB
#
# r2 - Pylons development environment configuration
#
# The %(here)s variable will be replaced with the parent directory of this file
#
[DEFAULT]
debug = true
template_debug = true
uncompressedJS = true
translator = true
sqlprinting = false
log_path =
memcaches = 127.0.0.1:11211
permacaches = 127.0.0.1:11211
rendercaches = 127.0.0.1:11211
rec_cache = 127.0.0.1:11311
tracker_url =
adtracker_url =
clicktracker_url =
main_db_name = reddit
main_db_host = 127.0.0.1
main_db_user = reddit
main_db_pass = password
comment_db_name = reddit
comment_db_host = 127.0.0.1
comment_db_user = reddit
comment_db_pass = password
vote_db_name = reddit
vote_db_host = 127.0.0.1
vote_db_user = reddit
vote_db_pass = password
change_db_name = changes
change_db_host = 127.0.0.1
change_db_user = reddit
change_db_pass = password
email_db_name = email
email_db_host = 127.0.0.1
email_db_user = reddit
email_db_pass = password
query_queue_db_name = query_queue
query_queue_db_host = 127.0.0.1
query_queue_db_user = reddit
query_queue_db_pass = password
###
# Other magic settings
###
timezone = UTC
monitored_servers = localhost
#query cache settings
num_query_queue_workers = 0
query_queue_worker =
enable_doquery = False
use_query_cache = False
write_query_queue = False
stylesheet = lesswrong.css
stylesheet_rtl = reddit_rtl.css
allowed_css_linked_domains = my.domain.com, my.otherdomain.com
authorized_cnames = lesswrong.local
css_killswitch = False
max_sr_images = 20
login_cookie = reddit_session
domain = lesswrong.local
domain_prefix =
default_sr = lesswrong
blessed_sr = overcomingbias
front_page_title = Less Wrong
admins =
#create an official sounding account to sent PMs to people without email addresses
admin_account =
sponsors =
page_cache_time = 30
wiki_page_cache_time = 86400
static_path = /static/
useragent = Mozilla/5.0 (compatible; bot/1.0; ChangeMe)
feedbox_urls = http://www.overcomingbias.com/feed, http://slatestarcodex.com/feed, http://rationalaltruist.com/feed/, http://reflectivedisequilibrium.blogspot.com/feeds/posts/default, http://rationalconspiracy.com/feed/, http://feeds.feedburner.com/TheGivewellBlog?format=xml, http://rationality.org/blog/feed/, http://meteuphoric.wordpress.com/feed/
recent_edits_feed = http://wiki.lesswrong.com/mediawiki/index.php?title=Special:RecentChanges&feed=atom&hideminor=1&namespace=0
wiki_host = wiki.lesswrong.com
# Your sitemeter.com username/codename
site_meter_codename =
geoip_db_path = /usr/share/GeoIP/GeoIP.dat
# The radius in km for a meetup to be considered nearby
meetups_radius = 100
# The amount of time (in seconds) after a meetup is scheduled that it will still appear on the meetups page
meetup_grace_period = 3600
# The amount of time (in seconds) before dashboard pages turn over
dashboard_visits_period = 43200
solr_url =
google_api_key = aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa_bbbbbbbbbbbbbbbbbbbbbbbbb_cccccccccccccccccc-d
SECRET = abcdefghijklmnopqrstuvwxyz0123456789
MODSECRET = abcdefghijklmnopqrstuvwxyz0123456789
tracking_secret = abcdefghijklmnopqrstuvwxyz0123456789
# if your webserver is a proxy and on a different instance on the same 10.0.0.0/8 network
# set X-forwarded-for and set this to true
trust_local_proxies = false
# hash for validating HTTP_TRUE_CLIENT_IP_HASH
ip_hash =
S3KEY_ID = ABCDEFGHIJKLMNOP1234
S3SECRET_KEY = aBcDeFgHiJkLmNoPqRsTuVwXyZ1234567890AbCd
s3_thumb_bucket = /lesswrong.dev/
default_thumb = /static/noimage.png
MIN_DOWN_LINK = 0
MIN_UP_KARMA = 0
MIN_DOWN_KARMA = 0
MIN_RATE_LIMIT_KARMA = 0
MIN_RATE_LIMIT_COMMENT_KARMA = 0
# time in days
MODWINDOW = 2
HOT_PAGE_AGE = 1
#
media_period = 10 minutes
rising_period = 12 hours
# time of ratelimit purgatory (min)
RATELIMIT = 1
num_comments = 200
max_comments = 500
num_side_reddits = 20
smtp_server = localhost
new_link_share_delay = 5 minutes
share_reply = noreply@yourdomain.com
#user-agents to limit
agents =
feedback_email = abuse@localhost
about_post_id = 1
issues_post_id = 2
karma_to_post = 40
post_karma_multiplier = 10
karma_to_vote = 20
# Karma required for a user vote on another user's overview page
karma_to_vote_in_overview = 1000
# User's with karma above can vote on another user's overview page if that user
# has this percentage or less upvotes
karma_percentage_to_be_voted = 80
poll_max_choices = 20
downvoted_reply_score_threshold = -4
downvoted_reply_karma_cost = 5
hide_comment_threshold = -4
side_meetups_max_age = 60
side_comments_max_age = 60
side_posts_max_age = 300
side_tags_max_age = 43200
side_contributors_max_age = 3600
article_navigation_max_age = 0
[server:main]
use = egg:Paste#http
host = 0.0.0.0
port = %(port)s
[app:main]
use = egg:r2
cache_dir = %(here)s/data
beaker.session_key = r2
beaker.session_secret = somesecret
#lang = en
# 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