|
Revision 217, 1.6 kB
(checked in by johnbywater, 4 months ago)
|
Made markers variable size, according to some notional magnitude.
|
| Line | |
|---|
| 1 |
# |
|---|
| 2 |
# microfacts - 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 |
# Uncomment and replace with the address which should receive any error reports |
|---|
| 9 |
#email_to = you@yourdomain.com |
|---|
| 10 |
smtp_server = localhost |
|---|
| 11 |
error_email_from = paste@localhost |
|---|
| 12 |
|
|---|
| 13 |
[server:main] |
|---|
| 14 |
use = egg:Paste#http |
|---|
| 15 |
host = 0.0.0.0 |
|---|
| 16 |
port = 5000 |
|---|
| 17 |
|
|---|
| 18 |
[app:main] |
|---|
| 19 |
use = egg:microfacts |
|---|
| 20 |
full_stack = true |
|---|
| 21 |
cache_dir = %(here)s/data |
|---|
| 22 |
beaker.session.key = microfacts |
|---|
| 23 |
beaker.session.secret = somesecret |
|---|
| 24 |
|
|---|
| 25 |
# If you'd like to fine-tune the individual locations of the cache data dirs |
|---|
| 26 |
# for the Cache data, or the Session saves, un-comment the desired settings |
|---|
| 27 |
# here: |
|---|
| 28 |
#beaker.cache.data_dir = %(here)s/data/cache |
|---|
| 29 |
#beaker.session.data_dir = %(here)s/data/sessions |
|---|
| 30 |
|
|---|
| 31 |
sqlalchemy.url = sqlite:///%(here)s/microfacts.db |
|---|
| 32 |
|
|---|
| 33 |
# WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT* |
|---|
| 34 |
# Debug mode will enable the interactive debugging tool, allowing ANYONE to |
|---|
| 35 |
# execute malicious code after an exception is raised. |
|---|
| 36 |
#set debug = false |
|---|
| 37 |
|
|---|
| 38 |
googlemaps_apikey = ABQIAAAARZ8-8aLLq6MZvE0jrVASkxQChx54JYdgbPKio935j7RDK0bGdhQBc5WnLOdkVx49SOALTkpfYB9ORA |
|---|
| 39 |
|
|---|
| 40 |
# Logging configuration |
|---|
| 41 |
[loggers] |
|---|
| 42 |
keys = root, microfacts |
|---|
| 43 |
|
|---|
| 44 |
[handlers] |
|---|
| 45 |
keys = console |
|---|
| 46 |
|
|---|
| 47 |
[formatters] |
|---|
| 48 |
keys = generic |
|---|
| 49 |
|
|---|
| 50 |
[logger_root] |
|---|
| 51 |
level = INFO |
|---|
| 52 |
handlers = console |
|---|
| 53 |
|
|---|
| 54 |
[logger_microfacts] |
|---|
| 55 |
level = DEBUG |
|---|
| 56 |
handlers = |
|---|
| 57 |
qualname = microfacts |
|---|
| 58 |
|
|---|
| 59 |
[handler_console] |
|---|
| 60 |
class = StreamHandler |
|---|
| 61 |
args = (sys.stderr,) |
|---|
| 62 |
level = NOTSET |
|---|
| 63 |
formatter = generic |
|---|
| 64 |
|
|---|
| 65 |
[formatter_generic] |
|---|
| 66 |
format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s |
|---|
| 67 |
datefmt = %H:%M:%S |
|---|