comparison mod_couchdb.wiki @ 146:33147609a765

mod_couchdb: Updated docs to reflect the new storage system (simpler now).
author Waqas Hussain <waqas20@gmail.com>
date Sat, 31 Jul 2010 14:47:02 +0500
parents d3dd8fdcae1d
children 3b8d6c25756f
comparison
equal deleted inserted replaced
145:34ea8d288440 146:33147609a765
4 = Introduction = 4 = Introduction =
5 5
6 This is an experimental Prosody backend for CouchDB. 6 This is an experimental Prosody backend for CouchDB.
7 7
8 = Configuration = 8 = Configuration =
9 In your config file, in the global section add: 9 In your config file, under the relevant host, add:
10 {{{ 10 {{{
11 datastore = "couchdb"; 11 datastore = "couchdb";
12 couchdb_url = "http://127.0.0.1:5984/database-name"; 12 couchdb_url = "http://127.0.0.1:5984/database-name";
13 }}}
14 In your config file, in the modules_enabled list, add "storage" as the first module:
15 {{{
16 modules_enabled = {
17 "storage";
18 ...
19 }
20 }}} 13 }}}
21 14
22 = Compatibility = 15 = Compatibility =
23 16
24 Only works with trunk. As the trunk API is in flux, update this module as well when you update trunk. 17 Only works with trunk. As the trunk API is in flux, update this module as well when you update trunk.