root/tags/amplee-0.5.0/amplee/examples/cooker/cooker.conf

Revision 436, 4.4 kB (checked in by sylvain, 1 year ago)

Commented memcache default proxy support

Line 
1 #############################################################
2 # Storage configuration
3 # see http://trac.defuze.org/wiki/AmpleeLoader
4 #############################################################
5 [fs_storage]
6 base_path = repository
7
8 [tar_storage]
9 base_path = repository
10 compression = gz
11
12 [dejavu_storage]
13 Database = :memory:
14 db_type = sqlite
15
16 [zodb_storage]
17 fs_type = filestorage
18 top_level_node_name = cooker
19 fs_path =
20
21 [s3_storage]
22 access_key =
23 private_key =
24 bucket_unique_prefix =
25
26 [svn_storage]
27 repository_uri =
28 working_copy_path =
29 username = None
30 password = None
31
32 #############################################################
33 # Store configuration
34 #############################################################
35 [store]
36 enable_lock = True
37 member_storage = fs_storage
38 media_storage = tar_storage
39 workspaces = ws0,ws1,ws2
40 # If you want memcache proxying sypport just uncomment
41 # the following line and set the list of servers
42 # separated by a comma
43 # member_storage_memcached = 127.0.0.1:7878
44
45 #############################################################
46 # Service configuration
47 #############################################################
48 [service]
49 xml_attrs = base,http://localhost:8080/;lang,en
50 xslt_path = /static/service.xsl
51
52 #############################################################
53 # Workspaces configuration
54 #############################################################
55 [ws0]
56 name = starters
57 title = Starters
58 collections = col0,col1
59
60 [ws1]
61 name = meals
62 title = Meals
63 collections = col2
64
65 [ws2]
66 name = deserts
67 title = Deserts
68 collections = col3
69
70 #############################################################
71 # Collections configuration
72 #############################################################
73 [col0]
74 name = salads
75 title = Salads
76 base_uri = starter/salad/
77 base_edit_uri = pub/starter/salad/
78 base_media_edit_uri = pub/starter/salad/
79 accept_media_types = application/atom+xml;type=entry,multipart/form-data
80 editable_media_types = application/x-www-form-urlencoded
81 handlers = hd0,hd1,hd2
82 public_feed_entry_processor = module:core/utils,callable:transform_member_resource
83 public_feed_xslt_path = /static/feed.xsl
84 enable_cache = False
85 reload_members = False
86 replies_path = static/replies
87
88 [col1]
89 name = antipasti
90 title = Antipasti
91 base_uri = starter/antipasti/
92 base_edit_uri = pub/starter/antipasti/
93 base_media_edit_uri = pub/starter/antipasti/
94 accept_media_types = application/atom+xml;type=entry,multipart/form-data
95 editable_media_types = application/x-www-form-urlencoded
96 public_feed_entry_processor = module:core/utils,callable:transform_member_resource
97 public_feed_xslt_path = /static/feed.xsl
98 enable_cache = False
99 handlers = hd0,hd1,hd2
100 reload_members = False
101 replies_path = static/replies
102
103 [col2]
104 name = meals
105 title = Meals
106 base_uri = meal/
107 base_edit_uri = pub/meal/
108 base_media_edit_uri = pub/meal/
109 accept_media_types = application/atom+xml;type=entry,multipart/form-data
110 editable_media_types = application/x-www-form-urlencoded
111 public_feed_entry_processor = module:core/utils,callable:transform_member_resource
112 public_feed_xslt_path = /static/feed.xsl
113 enable_cache = False
114 handlers = hd0,hd1,hd2
115 reload_members = False
116 replies_path = static/replies
117
118 [col3]
119 name = deserts
120 title = Deserts
121 base_uri = desert/
122 base_edit_uri = pub/desert/
123 base_media_edit_uri = pub/desert/
124 accept_media_types = application/atom+xml;type=entry,multipart/form-data
125 editable_media_types = application/x-www-form-urlencoded
126 public_feed_entry_processor = module:core/utils,callable:transform_member_resource
127 public_feed_xslt_path = /static/feed.xsl
128 enable_cache = False
129 handlers = hd0,hd1,hd2
130 reload_members = False
131 replies_path = static/replies
132
133 #############################################################
134 # Handlers configuration
135 #############################################################
136 [hd0]
137 media_type = application/atom+xml;type=entry
138 handler_class = RecipeEntryHandler
139 handler_module = core/recipe
140 member_class = RecipeEntryMember
141 member_module = core/recipe
142
143 [hd1]
144 media_type = multipart/form-data
145 handler_class = RecipeFormHandler
146 handler_module = core/recipe
147 member_class = RecipeFormMember
148 member_module = core/recipe
149 member_type = mt0
150
151 [hd2]
152 media_type = application/x-www-form-urlencoded
153 handler_class = RecipeFormUrlEncodedHandler
154 handler_module = core/recipe
155 member_class = RecipeFormUrlEncodedMember
156 member_module = core/recipe
157 member_type = mt0
158
159 #############################################################
160 # Member type configuration
161 #############################################################
162 [mt0]
163 photos_path = static/photos
Note: See TracBrowser for help on using the browser.