~benoit.pierre/sloecode/incubation

3.1.2 by Thomi Richards
Added new pylons template app.
1
#
2
# sloecode - Pylons development environment configuration
3
#
4
# The %(here)s variable will be replaced with the parent directory of this file
5
#
6
[DEFAULT]
7
debug = true
8
# Uncomment and replace with the address which should receive any error reports
9
#email_to = you@yourdomain.com
10
smtp_server = localhost
11
error_email_from = paste@localhost
12
50.1.1 by Thomi Richards
First pass at moving config into the .ini file.
13
# Bazaar directory locations are shared across the webapp and the smart server
14
# so I'm putting them into the DEFAULT section:
15
bzr_root = %(here)s/bzr-repos
16
bzr_project_root = %(bzr_root)s/project
17
bzr_person_root = %(bzr_root)s/person
98.1.1 by Thomi Richards
Started user deletion fixes.
18
bzr_deleted_project_root = %(bzr_root)s/deleted_project
19
bzr_deleted_person_root = %(bzr_root)s/deleted_person
50.1.1 by Thomi Richards
First pass at moving config into the .ini file.
20
54.1.1 by Thomi Richards
Second pass at putting sloecode server config into a file.
21
[smartserver]
56.1.1 by Tim Penhey
Remove ss_ prefix from the smartserver config section.
22
access_log_name = /var/sloecode/logs/smartserver-access.log
23
log_name = /var/sloecode/logs/smartserver.log
24
private_key_file = /var/sloecode/keys/sloecode_rsa
25
public_key_file = /var/sloecode/keys/sloecode_rsa.pub
54.2.4 by Tim Penhey
Make sure that all the parameters have defined values before calling into the sloecode methods.
26
ssh_port_number = 4022
54.2.5 by Tim Penhey
Add in the missing 's'.
27
ssh_port = tcp:%(ssh_port_number)s
56.1.1 by Tim Penhey
Remove ss_ prefix from the smartserver config section.
28
idle_timeout = 3600
29
banner = Sloecode Bazaar Smart Server
30
93 by Thomi Richards
Reverting Chris's unintended changes to development.ini
31
xmlrpc_auth_endpoint = http://localhost:5000/xmlrpc
50.1.1 by Thomi Richards
First pass at moving config into the .ini file.
32
3.1.2 by Thomi Richards
Added new pylons template app.
33
[server:main]
34
use = egg:Paste#http
15 by Thomi Richards
Server now listens on all interfaces, and 'run' is now a make target to launch the site.
35
host = 0.0.0.0
93 by Thomi Richards
Reverting Chris's unintended changes to development.ini
36
port = 5000
3.1.2 by Thomi Richards
Added new pylons template app.
37
38
[app:main]
39
use = egg:sloecode
40
full_stack = true
41
static_files = true
42
43
cache_dir = %(here)s/data
44
beaker.session.key = sloecode
45
beaker.session.secret = somesecret
46
102.1.15 by Thomi Richards
Added new database config file location item to development.ini
47
# Database configuration is in the following file:
48
db_config_file = %(here)s/database.ini
3.1.2 by Thomi Richards
Added new pylons template app.
49
50
# WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
51
# Debug mode will enable the interactive debugging tool, allowing ANYONE to
52
# execute malicious code after an exception is raised.
53
#set debug = false
54
55
# Logging configuration
56
[loggers]
57
keys = root, routes, sloecode, sqlalchemy
58
59
[handlers]
60
keys = console
61
62
[formatters]
63
keys = generic
64
65
[logger_root]
66
level = INFO
67
handlers = console
68
69
[logger_routes]
30.1.1 by Thomi Richards
Moved admin controllers and template files to admin/ subdirectories.
70
level = DEBUG
3.1.2 by Thomi Richards
Added new pylons template app.
71
handlers =
72
qualname = routes.middleware
73
# "level = DEBUG" logs the route matched and routing variables.
74
75
[logger_sloecode]
76
level = DEBUG
77
handlers =
78
qualname = sloecode
79
80
[logger_sqlalchemy]
81
level = INFO
82
handlers =
83
qualname = sqlalchemy.engine
84
# "level = INFO" logs SQL queries.
85
# "level = DEBUG" logs SQL queries and results.
86
# "level = WARN" logs neither.  (Recommended for production systems.)
87
88
[handler_console]
89
class = StreamHandler
90
args = (sys.stderr,)
91
level = NOTSET
92
formatter = generic
93
94
[formatter_generic]
95
format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] [%(threadName)s] %(message)s
96
datefmt = %H:%M:%S