| 1 | # |
|---|
| 2 | # The %(here)s variable will be replaced with the parent directory of this file |
|---|
| 3 | # |
|---|
| 4 | [DEFAULT] |
|---|
| 5 | debug = true |
|---|
| 6 | # Uncomment and replace with the address which should receive any error reports |
|---|
| 7 | #email_to = you@yourdomain.com |
|---|
| 8 | smtp_server = localhost |
|---|
| 9 | error_email_from = paste@localhost |
|---|
| 10 | |
|---|
| 11 | [server:main] |
|---|
| 12 | use = egg:Paste#http |
|---|
| 13 | host = 0.0.0.0 |
|---|
| 14 | port = 5000 |
|---|
| 15 | |
|---|
| 16 | [app:main] |
|---|
| 17 | use = egg:adhocracy |
|---|
| 18 | full_stack = true |
|---|
| 19 | static_files = true |
|---|
| 20 | |
|---|
| 21 | cache_dir = %(here)s/data |
|---|
| 22 | beaker.session.key = adhocracy_state |
|---|
| 23 | # INSTALL: Replace this with a randomly generated hash value: |
|---|
| 24 | beaker.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. |
|---|
| 30 | beaker.session.cookie_domain = .adhocracy.lan |
|---|
| 31 | session.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. |
|---|
| 40 | memcached.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 |
|---|
| 45 | sqlalchemy.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 | |
|---|
| 53 | adhocracy.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. |
|---|
| 62 | adhocracy.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. |
|---|
| 66 | adhocracy.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. |
|---|
| 71 | adhocracy.site.dir = %(here)s/site |
|---|
| 72 | |
|---|
| 73 | # INSTALL: A nice E-Mail address. |
|---|
| 74 | adhocracy.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 |
|---|
| 79 | adhocracy.twitter.username = adhocracy_dev |
|---|
| 80 | adhocracy.twitter.key = 0acht15 |
|---|
| 81 | adhocracy.twitter.secret = 0acht15 |
|---|
| 82 | adhocracy.twitter.consumer_key = YdWuSAgQZLxCVbJG0BpfbQ |
|---|
| 83 | adhocracy.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. |
|---|
| 94 | adhocracy.amqp.host = 127.0.0.1 |
|---|
| 95 | #adhocracy.amqp.event_queue = adhocracy.queue |
|---|
| 96 | adhocracy.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? |
|---|
| 103 | adhocracy.cache_tiles = True |
|---|
| 104 | |
|---|
| 105 | # adhocracy.instance = adhocracy |
|---|
| 106 | |
|---|
| 107 | # Statistics via Piwik |
|---|
| 108 | piwik.site = http://stats.liqd.net/ |
|---|
| 109 | piwik.id = 1 |
|---|
| 110 | |
|---|
| 111 | |
|---|
| 112 | # Logging configuration |
|---|
| 113 | [loggers] |
|---|
| 114 | keys = root, adhocracy, sqlalchemy |
|---|
| 115 | |
|---|
| 116 | [handlers] |
|---|
| 117 | keys = console |
|---|
| 118 | |
|---|
| 119 | [formatters] |
|---|
| 120 | keys = generic |
|---|
| 121 | |
|---|
| 122 | [logger_root] |
|---|
| 123 | level = INFO |
|---|
| 124 | handlers = console |
|---|
| 125 | |
|---|
| 126 | [logger_routes] |
|---|
| 127 | level = INFO |
|---|
| 128 | handlers = |
|---|
| 129 | qualname = routes.middleware |
|---|
| 130 | # "level = DEBUG" logs the route matched and routing variables. |
|---|
| 131 | |
|---|
| 132 | [logger_adhocracy] |
|---|
| 133 | level = DEBUG |
|---|
| 134 | handlers = |
|---|
| 135 | qualname = adhocracy |
|---|
| 136 | |
|---|
| 137 | [logger_sqlalchemy] |
|---|
| 138 | level = WARN |
|---|
| 139 | handlers = console |
|---|
| 140 | qualname = sqlalchemy.engine |
|---|
| 141 | |
|---|
| 142 | [handler_console] |
|---|
| 143 | class = StreamHandler |
|---|
| 144 | args = (sys.stderr,) |
|---|
| 145 | level = NOTSET |
|---|
| 146 | formatter = generic |
|---|
| 147 | |
|---|
| 148 | [formatter_generic] |
|---|
| 149 | format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s |
|---|
| 150 | datefmt = %H:%M:%S |
|---|