-
Notifications
You must be signed in to change notification settings - Fork 0
/
development.example
124 lines (97 loc) · 3.55 KB
/
development.example
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
#
# TaskTracker - Pylons development environment configuration
#
# The %(here)s variable will be replaced with the parent directory of this file
#
[DEFAULT]
debug = true
email_to = you@yourdomain.com
smtp_server = localhost
error_email_from = paste@localhost
[server:main]
use = egg:Paste#http
host = 0.0.0.0
port = 5050
[app:tasktracker]
use = egg:TaskTracker
cache_dir = %(here)s/data
cache_expiretime = 60
session_key = tasktracker
session_secret = somesecret
# If you'd like to fine-tune the individual locations of the cache data dirs
# for Myghty, the Cache data, or the Session saves, un-comment the desired
# settings here:
#myghty_data_dir = %(here)s/data/templates
#cache_data_dir = %(here)s/data/cache
#session_data_dir = %(here)s/data/sessions
# Specify the database for SQLObject to use via pylons.database.PackageHub.
# %(here) may include a ':' character on Windows environments; this can
# invalidate the URI when specifying a SQLite db via path name. Refer to the
# SQLObject documentation for a special syntax to preserve the URI.
sqlobject.dburi = mysql://tasktracker:tasktracker@localhost/tasktracker
database = mysql://tasktracker:tasktracker@localhost/tasktracker
# WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
# Debug mode will enable the interactive debugging tool, allowing ANYONE to
# execute malicious code after an exception is raised.
set debug = false
openplans_wrapper = tasktracker.lib.cookieauth:CookieAuth
#openplans_wrapper = tasktracker.lib.signedheaderauth:SignedHeaderAuth
openplans_instance = http://localhost:8080/openplans
login_uri = http://stage.openplans.org/login_form
homepage_uri = http://stage.openplans.org/
profile_uri = http://stage.openplans.org/people/%s/profile
# If uncommented, the Javascript and CSS files will each respectively
# be served as a single file (instead of having to load a file for each
# library):
#compress_resources = true
# where secret stuff lives
topp_secret_filename = /fill/me/in
topp_admin_info_filename = /fill/me/in
translate_environ topp.project_name = HTTP_X_OPENPLANS_PROJECT
#note: this is a type three universe. "A shoot-on-sight policy is less crazy than it sounds!" -JBR
obsolete_future_history_dir = %(here)s/afh
#event_server = http://localhost:24532
#event_queue_directory = %(here)s/eq
#for alternate templates
#template_package = sputnik
#filter-with = prefix
#
#[filter:prefix]
#use = egg:PasteDeploy#prefix
#prefix = /tasks
[app:test]
use = tasktracker
sqlobject.dburi = mysql://tasktracker:tasktracker@localhost/tasktracker_test
database = mysql://tasktracker:tasktracker@localhost/tasktracker_test
openplans_wrapper = tasktracker.lib.testing_env:TestingEnv
obsolete_future_history_dir = %(here)s/afh-test
fill_environ REMOTE_ADDR = 127.0.0.1
event_server =
event_queue_directory =
############################################################
## Deliverance-enabled example
############################################################
[filter-app:main]
use = egg:PasteDeploy#prefix
prefix = /tasks
next = tasktracker
[filter-app:deliverance]
#use = egg:Paste#error_catcher
use = egg:Paste#evalerror
next = deliverance_wrapper
[filter-app:deliverance_wrapper]
# this version of the configuration uses Deliverance to style the
# app like NYCSR.org
use = egg:Deliverance
rule_uri = theme/nycsr.xml
#theme_uri = theme/nycsr_speed.html
theme_uri = http://www.nycsr.org
next = deliverance_parts
[composite:deliverance_parts]
use = egg:Paste#urlmap
/theme = nycsr_files
/ = main
[app:nycsr_files]
use = egg:Paste#pkg_resources
egg = Deliverance
resource_name = deliverance/test-data/nycsr