-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproduction.ini
139 lines (110 loc) · 2.99 KB
/
production.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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
[app:main]
use = egg:assembl
pyramid.reload_templates = false
pyramid.debug_authorization = false
pyramid.debug_notfound = false
pyramid.debug_routematch = false
pyramid.default_locale_name = en
pyramid.includes =
pyramid_tm
sqlalchemy.url = postgresql+psycopg2://assembl:assembl@/assembl
sqlalchemy.echo=False
jinja2.directories = assembl:templates
assembl.domain = assembl.net
mail.host = localhost
assembl.admin_email = [email protected]
# Each of these providers requires us to register a client app ID.
# Also, we must give a visible callback URL.
# Please contact [email protected] for details.
login_providers =
# facebook
# twitter
# github
# google
# openid
# https://developers.facebook.com/docs/facebook-login/getting-started-web/
# https://developers.facebook.com/apps/
#
# facebook.consumer_key =
# facebook.consumer_secret =
# facebook.scope =
# https://dev.twitter.com/apps/new
#
# twitter.consumer_key =
# twitter.consumer_secret =
# http://developer.github.com/v3/oauth/
# https://github.com/settings/applications
#
# github.consumer_key =
# github.consumer_secret =
# github.scope = repo
# https://code.google.com/apis/console/ ; API Access; Create Client ID
#
# google.consumer_key =
# google.consumer_secret =
# This should be the front-facing URL
# openid.realm=
# Beaker settings
# We should use memcache asap
beaker.session.type = memcached
beaker.session.url = 127.0.0.1:11211
beaker.session.data_dir = %(here)s/data/sessions/data
beaker.session.lock_dir = %(here)s/data/sessions/lock
session.key = [enter a key]
session.secret = [enter a key]
session.cookie_on_exception = true
#security.hash_algorithm = sha256
security.email_token_salt = [enter a key]
# Anykeystore settings for Velruse
store = sqlalchemy
store.url = sqlite:///%(here)s/assembl.db
[pshell]
models = assembl.models
db = assembl.db.DBSession
transaction = transaction
[alembic]
# Path to migration scripts
script_location = assembl/alembic
sqlalchemy.url = postgresql+psycopg2://assembl:assembl@/assembl
# Template used to generate migration files
# file_template = %%(rev)s_%%(slug)s
# Set to 'true' to run the environment during
# the 'revision' command, regardless of autogenerate
# revision_environment = false
[server:main]
use = egg:waitress#main
host = 0.0.0.0
port = 6543
# Begin logging configuration
[loggers]
keys = root, assembl, sqlalchemy, alembic
[handlers]
keys = console
[formatters]
keys = generic
[logger_root]
level = WARN
handlers = console
[logger_assembl]
level = WARN
handlers =
qualname = assembl
[logger_sqlalchemy]
level = WARN
handlers =
qualname = sqlalchemy.engine
# "level = INFO" logs SQL queries.
# "level = DEBUG" logs SQL queries and results.
# "level = WARN" logs neither. (Recommended for production systems.)
[logger_alembic]
level = INFO
handlers =
qualname = alembic
[handler_console]
class = StreamHandler
args = (sys.stderr,)
level = NOTSET
formatter = generic
[formatter_generic]
format = %(asctime)s %(levelname)-5.5s [%(name)s][%(threadName)s] %(message)s
# End logging configuration