Skip to content
Newer
Older
100644 110 lines (86 sloc) 2.09 KB
4778b17 @KeyserSosa initial checkin
KeyserSosa authored Jun 17, 2008
1 #
2 # r2 - Pylons development environment configuration
3 #
4 # The %(here)s variable will be replaced with the parent directory of this file
5 #
6 [DEFAULT]
7 debug = true
8 template_debug = true
9 uncompressedJS = true
10 translator = true
11
12 proxy_addr =
13 log_path =
14
15 memcaches = 127.0.0.1:11211
16 rec_cache = 127.0.0.1:11311
17 tracker_url =
18
19 main_db_name = reddit
20 main_db_host = 127.0.0.1
21 main_db_user = reddit
22 main_db_pass = password
23
24 comment_db_name = reddit
25 comment_db_host = 127.0.0.1
26 comment_db_user = reddit
27 comment_db_pass = password
28
29 vote_db_name = reddit
30 vote_db_host = 127.0.0.1
31 vote_db_user = reddit
32 vote_db_pass = password
33
34 change_db_name = changes
35 change_db_host = 127.0.0.1
36 change_db_user = reddit
37 change_db_pass = password
38
39 ###
40 # Other magic settings
41 ###
42
43 timezone = UTC
44 monitored_servers = localhost
45
46 stylesheet = reddit.css
47 stylesheet_rtl = reddit_rtl.css
48
49 login_cookie = reddit_session
50 domain = localhost
51 default_sr = localhost
52 admins =
53 page_cache_time = 30
54 static_path = /static/
bcca862 add media features
shuffman authored Jul 2, 2008
55 useragent = Mozilla/5.0 (compatible; bot/1.0; ChangeMe)
4778b17 @KeyserSosa initial checkin
KeyserSosa authored Jun 18, 2008
56
57 solr_url =
58
59 SECRET = abcdefghijklmnopqrstuvwxyz0123456789
60 MODSECRET = abcdefghijklmnopqrstuvwxyz0123456789
61 ip_hash =
bcca862 add media features
shuffman authored Jul 3, 2008
62 S3KEY_ID = ABCDEFGHIJKLMNOP1234
63 S3SECRET_KEY = aBcDeFgHiJkLmNoPqRsTuVwXyZ1234567890AbCd
64 s3_thumb_bucket = /your.bucket.here/
65 default_thumb = /static/noimage.png
4778b17 @KeyserSosa initial checkin
KeyserSosa authored Jun 18, 2008
66
67 MIN_DOWN_LINK = 0
68 MIN_UP_KARMA = 0
69 MIN_DOWN_KARMA = 0
70 MIN_RATE_LIMIT_KARMA = 0
71 MIN_RATE_LIMIT_COMMENT_KARMA = 0
72
73 # time in days
74 MODWINDOW = 2
75 HOT_PAGE_AGE = 1
76
bcca862 add media features
shuffman authored Jul 3, 2008
77 #
78 media_period = 10 minutes
79 rising_period = 12 hours
80
4778b17 @KeyserSosa initial checkin
KeyserSosa authored Jun 18, 2008
81 # time of ratelimit purgatory (min)
82 RATELIMIT = 10
83
84 num_comments = 200
85 max_comments = 500
86 num_side_reddits = 20
87
88 #user-agents to limit
89 agents =
90
91 feedback_email = abuse@localhost
92
93 [server:main]
94 use = egg:Paste#http
95 host = 0.0.0.0
96 port = %(port)s
97
98 [app:main]
99 use = egg:r2
100 cache_dir = %(here)s/data
101 beaker.session_key = r2
102 beaker.session_secret = somesecret
103 #lang = en
104
105 # WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
106 # Debug mode will enable the interactive debugging tool, allowing ANYONE to
107 # execute malicious code after an exception is raised.
108 #set debug = false
109
Something went wrong with that request. Please try again.