source: development.ini @ 962:dbfd4331f842

Revision 962:dbfd4331f842, 4.5 KB checked in by fl, 18 months ago (diff)

[svn r1308] config changes

Line 
1#
2# The %(here)s variable will be replaced with the parent directory of this file
3#
4[DEFAULT]
5debug = true
6# Uncomment and replace with the address which should receive any error reports
7#email_to = you@yourdomain.com
8smtp_server = localhost
9error_email_from = paste@localhost
10
11[server:main]
12use = egg:Paste#http
13host = 0.0.0.0
14port = 5000
15
16[app:main]
17use = egg:adhocracy
18full_stack = true
19static_files = true
20
21cache_dir = %(here)s/data
22beaker.session.key = adhocracy_state
23# INSTALL: Replace this with a randomly generated hash value:
24beaker.session.secret = somesecret
25
26# INSTALL: Insert your domain name here. Make sure to include the
27# dot at the beginning of each domain to create wildcard cookies.
28# Also make sure this is identical to the adhocracy.domains setting
29# below.
30beaker.session.cookie_domain = .adhocracy.lan
31session.domain = .adhocracy.lan
32
33# If you'd like to fine-tune the individual locations of the cache data dirs
34# for the Cache data, or the Session saves, un-comment the desired settings
35# here:
36#beaker.cache.data_dir = %(here)s/data/cache
37#beaker.session.data_dir = %(here)s/data/sessions
38
39# INSTALL: Locate your Memcached server if installed. Otherwise comment this out. 
40memcached.server = 127.0.0.1:11211
41
42# INSTALL: SQLAlchemy database URL
43#sqlalchemy.url = sqlite:///%(here)s/development.db
44#sqlalchemy.url = postgres://adhocracy:adhcdev@localhost/liqd_net_20101128
45sqlalchemy.url = mysql://root@localhost/liqd_net_20101128
46
47# INSTALL: Uncommenting this line will delete all locally saved data and drop
48# the entire database. Please only use this if you have a backup ready.
49# Yes, that's a magic string.
50## adhocracy.setup.drop = KILL_EM_ALL
51#
52
53adhocracy.solr.url = http://liqd.net:8983/solr/pudo
54
55# WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
56# Debug mode will enable the interactive debugging tool, allowing ANYONE to
57# execute malicious code after an exception is raised.
58#set debug = false
59
60# INSTALL: Set up the Adhocracy domain name. This will be used to determine the
61# active instance, e.g. "Test Instance" for test.adhocracy.lan.
62adhocracy.domain = adhocracy.lan
63
64# INSTALL: Set a site name for all instances. This will be used as a part of
65# the html <title>, notification E-Mails etc.
66adhocracy.site.name = Adhocracy
67
68# INSTALL: The site directory contains your site modifications of Adhocracy
69# (e.g. logos, CSS, html pages). A skeleton site directory will be created
70# by the "setup-app" paster command.
71adhocracy.site.dir = %(here)s/site
72
73# INSTALL: A nice E-Mail address.
74adhocracy.email.from = mail@adhocracy.cc
75
76# INSTALL: Twitter. Since there is currently no option to take it out of the UI,
77# you will want to use Twitter. Create an OAuth application to allow users to
78# link their profiles: https://twitter.com/oauth_clients
79adhocracy.twitter.username = adhocracy_dev
80adhocracy.twitter.key = 0acht15
81adhocracy.twitter.secret = 0acht15
82adhocracy.twitter.consumer_key = YdWuSAgQZLxCVbJG0BpfbQ
83adhocracy.twitter.consumer_secret = ec9W4wD1qlXBSQMUNYkqWfLfa80cUTo7wE8n37gU
84
85# INSTALL: bit.ly is used as a URL shortener. Since their API requires auth, you
86# can either leave the defaults here and give certain usage statistics to the
87# Adhocracy developers, or you can create an account at http://api.bit.ly
88#adhocracy.bitly.login =
89#adhocracy.bitly.key =
90
91# INSTALL: the AMQP message queue, i.e. RabbitMQ. Make sure to use different
92# queue and exchange names for each install of Adhocracy. Queue processing is
93# unable to process messages related to another database.
94adhocracy.amqp.host = 127.0.0.1
95#adhocracy.amqp.event_queue = adhocracy.queue
96adhocracy.amqp.event_exchange = adhocracy.exchange
97
98# TODO: These are not currently evaluated.
99#adhocracy.amqp.userid =
100#adhocracy.amqp.password =
101
102# TUNING: Memcache page fragments?
103adhocracy.cache_tiles = True
104
105# adhocracy.instance = adhocracy
106
107# Statistics via Piwik
108piwik.site = http://stats.liqd.net/
109piwik.id = 1
110
111
112# Logging configuration
113[loggers]
114keys = root, adhocracy, sqlalchemy
115
116[handlers]
117keys = console
118
119[formatters]
120keys = generic
121
122[logger_root]
123level = INFO
124handlers = console
125
126[logger_routes]
127level = INFO
128handlers =
129qualname = routes.middleware
130# "level = DEBUG" logs the route matched and routing variables.
131
132[logger_adhocracy]
133level = DEBUG
134handlers =
135qualname = adhocracy
136
137[logger_sqlalchemy]
138level = WARN
139handlers = console
140qualname = sqlalchemy.engine
141
142[handler_console]
143class = StreamHandler
144args = (sys.stderr,)
145level = NOTSET
146formatter = generic
147
148[formatter_generic]
149format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
150datefmt = %H:%M:%S
Note: See TracBrowser for help on using the repository browser.