##// END OF EJS Templates
manifest: fix missing files
ergo -
Show More
@@ -1,2 +1,2 b''
1 include *.txt *.ini *.cfg *.rst *.md VERSION
1 include *.txt *.ini *.cfg *.rst *.md VERSION
2 recursive-include appenlight *.ico *.png *.css *.gif *.jpg *.pt *.txt *.mak *.mako *.js *.html *.xml *.jinja2 *.rst *.otf *.ttf *.svg *.woff *.eot
2 recursive-include src *.ico *.png *.css *.gif *.jpg *.pt *.txt *.mak *.mako *.js *.html *.xml *.jinja2 *.rst *.otf *.ttf *.svg *.woff *.woff2 *.eot
@@ -1,206 +1,206 b''
1 [app:appenlight]
1 [app:appenlight]
2 use = egg:appenlight
2 use = egg:appenlight
3 reload_templates = true
3 reload_templates = true
4 debug_authorization = true
4 debug_authorization = true
5 debug_notfound = true
5 debug_notfound = true
6 debug_routematch = true
6 debug_routematch = true
7 debug_templates = true
7 debug_templates = true
8 default_locale_name = en
8 default_locale_name = en
9 sqlalchemy.url = postgresql://test:test@localhost/appenlight
9 sqlalchemy.url = postgresql://test:test@localhost/appenlight
10 sqlalchemy.pool_size = 10
10 sqlalchemy.pool_size = 10
11 sqlalchemy.max_overflow = 50
11 sqlalchemy.max_overflow = 50
12 sqlalchemy.echo = false
12 sqlalchemy.echo = false
13 jinja2.directories = appenlight:templates
13 jinja2.directories = appenlight:templates
14 jinja2.filters = nl2br = appenlight.lib.jinja2_filters.nl2br
14 jinja2.filters = nl2br = appenlight.lib.jinja2_filters.nl2br
15
15
16
16
17 pyramid.includes = pyramid_debugtoolbar
17 pyramid.includes = pyramid_debugtoolbar
18
18
19 debugtoolbar.panels =
19 debugtoolbar.panels =
20 pyramid_debugtoolbar.panels.versions.VersionDebugPanel
20 pyramid_debugtoolbar.panels.versions.VersionDebugPanel
21 pyramid_debugtoolbar.panels.settings.SettingsDebugPanel
21 pyramid_debugtoolbar.panels.settings.SettingsDebugPanel
22 pyramid_debugtoolbar.panels.headers.HeaderDebugPanel
22 pyramid_debugtoolbar.panels.headers.HeaderDebugPanel
23 pyramid_debugtoolbar.panels.renderings.RenderingsDebugPanel
23 pyramid_debugtoolbar.panels.renderings.RenderingsDebugPanel
24 pyramid_debugtoolbar.panels.logger.LoggingPanel
24 pyramid_debugtoolbar.panels.logger.LoggingPanel
25 pyramid_debugtoolbar.panels.performance.PerformanceDebugPanel
25 pyramid_debugtoolbar.panels.performance.PerformanceDebugPanel
26 pyramid_debugtoolbar.panels.routes.RoutesDebugPanel
26 pyramid_debugtoolbar.panels.routes.RoutesDebugPanel
27 pyramid_debugtoolbar.panels.sqla.SQLADebugPanel
27 pyramid_debugtoolbar.panels.sqla.SQLADebugPanel
28 pyramid_debugtoolbar.panels.tweens.TweensDebugPanel
28 pyramid_debugtoolbar.panels.tweens.TweensDebugPanel
29 pyramid_debugtoolbar.panels.introspection.IntrospectionDebugPanel
29 pyramid_debugtoolbar.panels.introspection.IntrospectionDebugPanel
30
30
31 appenlight.includes =
31 appenlight.includes =
32
32
33 # encryption
33 # encryption
34 encryption_secret = oEOikr_T98wTh_xLH3w8Se3kmbgAQYSM4poZvPosya0=
34 encryption_secret = oEOikr_T98wTh_xLH3w8Se3kmbgAQYSM4poZvPosya0=
35
35
36 #redis
36 #redis
37 redis.url = redis://localhost:6379/0
37 redis.url = redis://localhost:6379/0
38 redis.redlock.url = redis://localhost:6379/3
38 redis.redlock.url = redis://localhost:6379/3
39
39
40 #elasticsearch
40 #elasticsearch
41 elasticsearch.nodes = http://127.0.0.1:9200
41 elasticsearch.nodes = http://127.0.0.1:9200
42
42
43 #dirs
43 #dirs
44 webassets.dir = %(here)s/webassets/
44 webassets.dir = %(here)s/webassets/
45
45
46 #authtkt
46 #authtkt
47 authtkt.secure = false
47 authtkt.secure = false
48 authtkt.secret = SECRET
48 authtkt.secret = SECRET
49 # session settings
49 # session settings
50 redis.sessions.secret = SECRET
50 redis.sessions.secret = SECRET
51 redis.sessions.timeout = 86400
51 redis.sessions.timeout = 86400
52
52
53 # session cookie settings
53 # session cookie settings
54 redis.sessions.cookie_name = appenlight
54 redis.sessions.cookie_name = appenlight
55 redis.sessions.cookie_max_age = 2592000
55 redis.sessions.cookie_max_age = 2592000
56 redis.sessions.cookie_path = /
56 redis.sessions.cookie_path = /
57 redis.sessions.cookie_domain =
57 redis.sessions.cookie_domain =
58 redis.sessions.cookie_secure = False
58 redis.sessions.cookie_secure = False
59 redis.sessions.cookie_httponly = False
59 redis.sessions.cookie_httponly = False
60 redis.sessions.cookie_on_exception = True
60 redis.sessions.cookie_on_exception = True
61 redis.sessions.prefix = appenlight:session:
61 redis.sessions.prefix = appenlight:session:
62
62
63
63
64 #cache
64 #cache
65 cache.regions = default_term, second, short_term, long_term
65 cache.regions = default_term, second, short_term, long_term
66 cache.type = ext:memcached
66 cache.type = ext:memcached
67 cache.url = 127.0.0.1:11211
67 cache.url = 127.0.0.1:11211
68 cache.lock_dir = %(here)s/data/cache/lock
68 cache.lock_dir = %(here)s/data/cache/lock
69 cache.second.expire = 1
69 cache.second.expire = 1
70 cache.short_term.expire = 60
70 cache.short_term.expire = 60
71 cache.default_term.expire = 300
71 cache.default_term.expire = 300
72
72
73 #mailing
73 #mailing
74 mailing.app_url = http://localhost:6543
74 mailing.app_url = http://localhost:6543
75 mailing.from_name = App Enlight LOCAL
75 mailing.from_name = App Enlight LOCAL
76 mailing.from_email = no-reply@appenlight.local
76 mailing.from_email = no-reply@appenlight.local
77
77
78
78
79 ###
79 ###
80 # Authomatic configuration
80 # Authomatic configuration
81 ###
81 ###
82
82
83 authomatic.secret = SECRET
83 authomatic.secret = SECRET
84 authomatic.pr.facebook.app_id =
84 authomatic.pr.facebook.app_id =
85 authomatic.pr.facebook.secret =
85 authomatic.pr.facebook.secret =
86 authomatic.pr.twitter.key =
86 authomatic.pr.twitter.key =
87 authomatic.pr.twitter.secret =
87 authomatic.pr.twitter.secret =
88 authomatic.pr.google.key =
88 authomatic.pr.google.key =
89 authomatic.pr.google.secret =
89 authomatic.pr.google.secret =
90 authomatic.pr.github.key =
90 authomatic.pr.github.key =
91 authomatic.pr.github.secret =
91 authomatic.pr.github.secret =
92 authomatic.pr.github.scope = repo, public_repo, user:email
92 authomatic.pr.github.scope = repo, public_repo, user:email
93 authomatic.pr.bitbucket.key =
93 authomatic.pr.bitbucket.key =
94 authomatic.pr.bitbucket.secret =
94 authomatic.pr.bitbucket.secret =
95
95
96 #ziggurat
96 #ziggurat
97 ziggurat_foundations.model_locations.User = appenlight.models.user:User
97 ziggurat_foundations.model_locations.User = appenlight.models.user:User
98 ziggurat_foundations.sign_in.username_key = sign_in_user_name
98 ziggurat_foundations.sign_in.username_key = sign_in_user_name
99 ziggurat_foundations.sign_in.password_key = sign_in_user_password
99 ziggurat_foundations.sign_in.password_key = sign_in_user_password
100 ziggurat_foundations.sign_in.came_from_key = came_from
100 ziggurat_foundations.sign_in.came_from_key = came_from
101
101
102 #cometd
102 #cometd
103 cometd.server = http://127.0.0.1:8088/
103 cometd.server = http://127.0.0.1:8088/
104 cometd.secret = secret
104 cometd.secret = secret
105 cometd.ws_url = http://127.0.0.1:8088/
105 cometd.ws_url = ws://127.0.0.1:8088/
106
106
107
107
108 # for celery
108 # for celery
109 appenlight.api_key =
109 appenlight.api_key =
110 appenlight.transport_config = http://127.0.0.1:6543?threaded=1
110 appenlight.transport_config = http://127.0.0.1:6543?threaded=1
111 appenlight.public_api_key =
111 appenlight.public_api_key =
112
112
113 celery.broker_type = redis
113 celery.broker_type = redis
114 celery.broker_url = redis://localhost:6379/3
114 celery.broker_url = redis://localhost:6379/3
115 celery.concurrency = 4
115 celery.concurrency = 4
116 celery.timezone = UTC
116 celery.timezone = UTC
117
117
118
118
119 [filter:paste_prefix]
119 [filter:paste_prefix]
120 use = egg:PasteDeploy#prefix
120 use = egg:PasteDeploy#prefix
121
121
122
122
123 [filter:appenlight_client]
123 [filter:appenlight_client]
124 use = egg:appenlight_client
124 use = egg:appenlight_client
125 appenlight.api_key =
125 appenlight.api_key =
126 appenlight.transport_config = http://127.0.0.1:6543?threaded=1
126 appenlight.transport_config = http://127.0.0.1:6543?threaded=1
127 appenlight.report_local_vars = true
127 appenlight.report_local_vars = true
128 appenlight.report_404 = true
128 appenlight.report_404 = true
129 appenlight.logging.level = DEBUG
129 appenlight.logging.level = DEBUG
130 appenlight.timing.dbapi2_psycopg2 = 0.3
130 appenlight.timing.dbapi2_psycopg2 = 0.3
131
131
132
132
133 [pipeline:main]
133 [pipeline:main]
134 pipeline =
134 pipeline =
135 paste_prefix
135 paste_prefix
136 appenlight_client
136 appenlight_client
137 appenlight
137 appenlight
138
138
139
139
140
140
141 [server:main]
141 [server:main]
142 use = egg:waitress
142 use = egg:waitress
143 host = 0.0.0.0
143 host = 0.0.0.0
144 port = 6543
144 port = 6543
145
145
146 [server:main_prod]
146 [server:main_prod]
147 use = egg:gunicorn#main
147 use = egg:gunicorn#main
148 host = 0.0.0.0:6543, unix:/tmp/appenlight.sock
148 host = 0.0.0.0:6543, unix:/tmp/appenlight.sock
149 workers = 6
149 workers = 6
150 timeout = 90
150 timeout = 90
151 #max_requests = 1000
151 #max_requests = 1000
152
152
153
153
154 # Begin logging configuration
154 # Begin logging configuration
155
155
156 [loggers]
156 [loggers]
157 keys = root, appenlight, sqlalchemy, elasticsearch, elasticsearch_trace
157 keys = root, appenlight, sqlalchemy, elasticsearch, elasticsearch_trace
158
158
159 [handlers]
159 [handlers]
160 keys = console
160 keys = console
161
161
162 [formatters]
162 [formatters]
163 keys = generic, json
163 keys = generic, json
164
164
165 [logger_root]
165 [logger_root]
166 level = INFO
166 level = INFO
167 handlers = console
167 handlers = console
168
168
169 [logger_appenlight]
169 [logger_appenlight]
170 level = INFO
170 level = INFO
171 handlers =
171 handlers =
172 qualname = appenlight
172 qualname = appenlight
173
173
174 [logger_elasticsearch]
174 [logger_elasticsearch]
175 level = WARN
175 level = WARN
176 handlers =
176 handlers =
177 qualname = elasticsearch
177 qualname = elasticsearch
178
178
179 [logger_elasticsearch_trace]
179 [logger_elasticsearch_trace]
180 level = WARN
180 level = WARN
181 handlers =
181 handlers =
182 qualname = elasticsearch.trace
182 qualname = elasticsearch.trace
183
183
184 [logger_sqlalchemy]
184 [logger_sqlalchemy]
185 level = WARN
185 level = WARN
186 handlers =
186 handlers =
187 qualname = sqlalchemy.engine
187 qualname = sqlalchemy.engine
188 # "level = INFO" logs SQL queries.
188 # "level = INFO" logs SQL queries.
189 # "level = DEBUG" logs SQL queries and results.
189 # "level = DEBUG" logs SQL queries and results.
190 # "level = WARN" logs neither. (Recommended for production systems.)
190 # "level = WARN" logs neither. (Recommended for production systems.)
191
191
192 [handler_console]
192 [handler_console]
193 class = StreamHandler
193 class = StreamHandler
194 args = (sys.stderr,)
194 args = (sys.stderr,)
195 level = NOTSET
195 level = NOTSET
196 formatter = json
196 formatter = json
197
197
198 [formatter_generic]
198 [formatter_generic]
199 format = %(asctime)s %(levelname)-5.5s [%(name)s][%(threadName)s] %(message)s
199 format = %(asctime)s %(levelname)-5.5s [%(name)s][%(threadName)s] %(message)s
200
200
201 # json string will land as "message" key of format string
201 # json string will land as "message" key of format string
202 [formatter_json]
202 [formatter_json]
203 class=appenlight.lib.logging.JSONFormatter
203 class=appenlight.lib.logging.JSONFormatter
204 format = %(asctime)s %(levelname)-5.5s [%(name)s:%(lineno)s][%(threadName)s] %(message)s
204 format = %(asctime)s %(levelname)-5.5s [%(name)s:%(lineno)s][%(threadName)s] %(message)s
205
205
206 # End logging configuration
206 # End logging configuration
General Comments 4
Under Review
author

Auto status change to "Under Review"

Under Review
author

Auto status change to "Under Review"

You need to be logged in to leave comments. Login now