-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathptah.ini
90 lines (71 loc) · 1.96 KB
/
ptah.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
[app:ptah]
use = egg:devapp
reload_templates = true
pyramid.includes = ptah ptahcms ptahcrowd devapp pyramid_beaker pyramid_sockjs ptah_wscrud
# auth
ptah.auth = true
ptah.secret = secret-ptah!
ptah.manage = ptah-manage
#ptah.managers = ["*"]
#ptah.managers = ["admin"]
ptah.manager_role = role:manager
ptah.chameleon_reload = true
ptah.mustache-cache = %(here)s/cache
ptah.mustache-langs = ["en","ru"]
# manager
ptahcrowd.admin-name = Ptah admin
ptahcrowd.admin-login = admin
ptahcrowd.admin-password = 12345
ptahcrowd.admin-role = role:manager
# session settings
session.type = file
session.data_dir = %(here)s/var/sessions/data
session.lock_dir = %(here)s/var/sessions/lock
session.key = ptahsession
session.secret = ptahsecret
# mailer settings
mail.host = localhost
mail.port = 25
mail.queue_path = None
mail.default_sender = Ptah <[email protected]>
mail.debug = true
# sqlalchemy
sqlalchemy.url = sqlite:///%(here)s/var/db.sqlite
#sqlalchemy.url = postgresql+psycopg2://fafhrd@localhost:5433/forum
# external auth providers
auth.providers = ["github", "facebook", "google", "live"]
auth.github_id = be291e643c30453ba002
auth.github_secret = 3db12b34e7aefcade4e1ddffe27532072a93cb2b
auth.facebook_id = 302489496454438
auth.facebook_secret = 0f4e0dd9ae85534f8ed6a0d68ea72b33
auth.google_id = 1034131369040.apps.googleusercontent.com
auth.google_secret = D7eWlXm8hUrFAsGblRaD-zAl
auth.live_id = 000000004807D17C
auth.live_secret = MhA-wJqmy96cifjO-1am9mDOfhUM31Jm
[pipeline:main]
pipeline =
ptah
[server:main]
#use = egg:pyramid#wsgiref
use = egg:pyramid_sockjs#server
host = 0.0.0.0
port = 8080
threadpool_workers = 1
threadpool_spawn_if_under = 1
# Begin logging configuration
[loggers]
keys = root
[handlers]
keys = console
[formatters]
keys = generic
[logger_root]
level = INFO
handlers = console
[handler_console]
class = StreamHandler
args = (sys.stderr,)
level = NOTSET
formatter = generic
[formatter_generic]
format = %(asctime)s %(levelname)-5.5s [%(name)s] %(message)s