forked from yeastgenome/SGDBackend-Nex2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
development.ini
80 lines (64 loc) · 1.93 KB
/
development.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
###
# app configuration
# http://docs.pylonsproject.org/projects/pyramid/en/latest/narr/environment.html
###
[app:main]
use = egg:SGDBackend#main
pyramid.reload_templates = true
pyramid.debug_all = true
pyramid.debug_routematch = true
pyramid.prevent_http_cache = true
pyramid.default_locale_name = en
pyramid.includes = pyramid_redis_sessions pyramid_jinja2 pyramid_webpack
jinja2.extensions = pyramid_webpack.jinja2ext:WebpackExtension
jinja2.directories = ../templates
# Reloads file changes and requests wait while webpack is compiling
webpack.debug = True
# Directory containing the webpack bundles. Relative to your package root.
webpack.bundle_dir = build/
# File containing the webpack stats. Relative to your package root.
webpack.stats_file = build/stats.json
# session settings
redis.sessions.secret = my_session_secret_for_development_only
redis.sessions.timeout = 28800
# session cookie settings
redis.sessions.cookie_name = session
redis.sessions.cookie_max_age = 28800
redis.sessions.cookie_path = /
redis.sessions.cookie_domain =
# redis.sessions.cookie_secure = True -- False for development
redis.sessions.cookie_httponly = False
redis.sessions.cookie_on_exception = True
redis.sessions.host = localhost
redis.sessions.port = 6379
redis.sessions.charset = utf-8
elasticsearch.doc_type = searchable_item
elasticsearch.variant_viewer_index = sequence_objects
[server:main]
use = egg:waitress#main
host = 0.0.0.0
port = 6543
[loggers]
keys = root, main, sqlalchemy.engine.base.Engine
[handlers]
keys = console
[formatters]
keys = generic
[logger_root]
level = DEBUG
handlers = console
[logger_main]
level = DEBUG
handlers =
qualname = myproject
[logger_sqlalchemy.engine.base.Engine]
level = WARNING
handlers =
qualname = sqlalchemy.engine.base.Engine
[handler_console]
class = StreamHandler
args = (sys.stderr,)
level = DEBUG
formatter = generic
[formatter_generic]
format = %(asctime)s %(levelname)-5.5s [%(name)s][%(threadName)s] %(message)s