|
... |
|
... |
6 |
[DEFAULT]
|
6 |
[DEFAULT]
|
7 |
debug = true
|
7 |
debug = true
|
8 |
# Uncomment and replace with the address which should receive any error reports
|
8 |
# Uncomment and replace with the address which should receive any error reports
|
9 |
# email_to = you@yourdomain.com
|
9 |
# email_to = you@yourdomain.com
|
10 |
smtp_server = localhost
|
10 |
smtp_server = localhost
|
|
|
11 |
smtp_port = 8826
|
11 |
error_email_from = paste@localhost
|
12 |
error_email_from = paste@localhost
|
12 |
|
13 |
|
13 |
[server:main]
|
14 |
[server:main]
|
14 |
use = egg:Paste#http
|
15 |
use = egg:Paste#http
|
15 |
host = 0.0.0.0
|
16 |
host = 0.0.0.0
|
16 |
port = 5000
|
17 |
port = 5000
|
17 |
|
18 |
|
18 |
[app:main]
|
19 |
[app:main]
|
19 |
use = egg:pyforge#plugin_test
|
20 |
use = egg:pyforge#plugin_test
|
20 |
full_stack = true
|
21 |
full_stack = true
|
|
|
22 |
use_queue = true
|
21 |
load_test_data = true
|
23 |
load_test_data = true
|
22 |
|
24 |
|
23 |
cache_dir = %(here)s/data
|
25 |
cache_dir = %(here)s/data
|
24 |
beaker.session.key = pyforge
|
26 |
beaker.session.key = pyforge
|
25 |
beaker.session.type = cookie
|
27 |
beaker.session.type = cookie
|
26 |
beaker.session.secret = 61ece7db-ba8d-49fe-a923-ab444741708c
|
28 |
beaker.session.secret = 61ece7db-ba8d-49fe-a923-ab444741708c
|
27 |
beaker.session.validate_key = 714bfe3612c42390726f
|
29 |
beaker.session.validate_key = 714bfe3612c42390726f
|
28 |
|
30 |
|
|
|
31 |
auth.method = local
|
|
|
32 |
auth.ldap.server = ldap://localhost
|
|
|
33 |
auth.ldap.suffix = ou=people,dc=example,dc=com
|
|
|
34 |
auth.ldap.admin_dn = cn=admin,dc=example,dc=com
|
|
|
35 |
auth.ldap.admin_password = secret
|
|
|
36 |
|
|
|
37 |
gitweb.cgi = /usr/lib/cgi-bin/gitweb.cgi
|
|
|
38 |
|
|
|
39 |
static_root = /static/
|
|
|
40 |
|
29 |
# Ming setup
|
41 |
# Ming setup
|
30 |
ming.main.master = mongo://127.0.0.1:27017/pyforge:test
|
42 |
ming.main.master = mongo://127.0.0.1:27017/pyforge:test
|
31 |
|
43 |
|
32 |
# SOLR setup
|
44 |
# SOLR setup
|
|
|
45 |
#solr.server = http://localhost:50065/solr/
|
33 |
solr.server = http://localhost:8983/solr
|
46 |
solr.server = http://localhost:8983/solr/
|
34 |
|
47 |
|
35 |
sqlalchemy.url = sqlite:///%(here)s/devdata.db
|
48 |
sqlalchemy.url = sqlite:///%(here)s/devdata.db
|
36 |
#echo shouldn't be used together with the logging module.
|
49 |
#echo shouldn't be used together with the logging module.
|
37 |
sqlalchemy.echo = false
|
50 |
sqlalchemy.echo = false
|
38 |
sqlalchemy.echo_pool = false
|
51 |
sqlalchemy.echo_pool = false
|
|
... |
|
... |
41 |
|
54 |
|
42 |
[loggers]
|
55 |
[loggers]
|
43 |
keys = root, pyforge, sqlalchemy
|
56 |
keys = root, pyforge, sqlalchemy
|
44 |
|
57 |
|
45 |
[handlers]
|
58 |
[handlers]
|
46 |
keys = test
|
59 |
keys = console
|
47 |
|
60 |
|
48 |
[formatters]
|
61 |
[formatters]
|
49 |
keys = generic
|
62 |
keys = generic
|
50 |
|
63 |
|
51 |
# If you create additional loggers, add them as a key to [loggers]
|
64 |
# If you create additional loggers, add them as a key to [loggers]
|
52 |
[logger_root]
|
65 |
[logger_root]
|
53 |
level = INFO
|
66 |
level = INFO
|
54 |
handlers = test
|
67 |
handlers = console
|
55 |
|
68 |
|
56 |
[logger_pyforge]
|
69 |
[logger_pyforge]
|
57 |
level = DEBUG
|
70 |
level = DEBUG
|
58 |
handlers =
|
71 |
handlers =
|
59 |
qualname = pyforge
|
72 |
qualname = pyforge
|
|
... |
|
... |
66 |
# "level = DEBUG" logs SQL queries and results.
|
79 |
# "level = DEBUG" logs SQL queries and results.
|
67 |
# "level = WARN" logs neither. (Recommended for production systems.)
|
80 |
# "level = WARN" logs neither. (Recommended for production systems.)
|
68 |
|
81 |
|
69 |
|
82 |
|
70 |
# If you create additional handlers, add them as a key to [handlers]
|
83 |
# If you create additional handlers, add them as a key to [handlers]
|
71 |
[handler_test]
|
84 |
[handler_console]
|
72 |
class = FileHandler
|
85 |
class = StreamHandler
|
73 |
args = ('test.log',)
|
86 |
args = (sys.stderr,)
|
74 |
level = NOTSET
|
87 |
level = NOTSET
|
75 |
formatter = generic
|
88 |
formatter = generic
|
76 |
|
89 |
|
77 |
# If you create additional formatters, add them as a key to [formatters]
|
90 |
# If you create additional formatters, add them as a key to [formatters]
|
78 |
[formatter_generic]
|
91 |
[formatter_generic]
|