Mercurial > prosody-wiki
comparison mod_couchdb.wiki @ 142:d3dd8fdcae1d
mod_couchdb: Basic docs.
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Sat, 10 Jul 2010 01:52:36 +0500 |
parents | |
children | 33147609a765 |
comparison
equal
deleted
inserted
replaced
141:9add3ebe92f4 | 142:d3dd8fdcae1d |
---|---|
1 #summary A CouchDB backend for Prosody | |
2 #labels Stage-Alpha | |
3 | |
4 = Introduction = | |
5 | |
6 This is an experimental Prosody backend for CouchDB. | |
7 | |
8 = Configuration = | |
9 In your config file, in the global section add: | |
10 {{{ | |
11 datastore = "couchdb"; | |
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 }}} | |
21 | |
22 = Compatibility = | |
23 | |
24 Only works with trunk. As the trunk API is in flux, update this module as well when you update trunk. | |
25 | |
26 = Quirks = | |
27 | |
28 This implementation is a work in progress. | |
29 | |
30 * The data stored in couchdb is limited to: account data, rosters, private XML and vCards |