annotate mod_couchdb.wiki @ 247:012884e6ba5d

edited wiki to reflect changes.
author Marco Cirillo <maranda@lightwitch.org>
date Tue, 20 Dec 2011 20:29:32 +0000
parents 3b8d6c25756f
children 7a0d1a7355f4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
182
3b8d6c25756f Add Type-Storage tag, and a note that this module needs updating.
MWild1
parents: 146
diff changeset
1 #summary A CouchDB backend for Prosody
3b8d6c25756f Add Type-Storage tag, and a note that this module needs updating.
MWild1
parents: 146
diff changeset
2 #labels Stage-Alpha,Type-Storage
3b8d6c25756f Add Type-Storage tag, and a note that this module needs updating.
MWild1
parents: 146
diff changeset
3
3b8d6c25756f Add Type-Storage tag, and a note that this module needs updating.
MWild1
parents: 146
diff changeset
4 _*Note:* This module needs updating to the 0.8 storage module API._
3b8d6c25756f Add Type-Storage tag, and a note that this module needs updating.
MWild1
parents: 146
diff changeset
5
3b8d6c25756f Add Type-Storage tag, and a note that this module needs updating.
MWild1
parents: 146
diff changeset
6 = Introduction =
3b8d6c25756f Add Type-Storage tag, and a note that this module needs updating.
MWild1
parents: 146
diff changeset
7
3b8d6c25756f Add Type-Storage tag, and a note that this module needs updating.
MWild1
parents: 146
diff changeset
8 This is an experimental Prosody backend for CouchDB.
3b8d6c25756f Add Type-Storage tag, and a note that this module needs updating.
MWild1
parents: 146
diff changeset
9
3b8d6c25756f Add Type-Storage tag, and a note that this module needs updating.
MWild1
parents: 146
diff changeset
10 = Configuration =
3b8d6c25756f Add Type-Storage tag, and a note that this module needs updating.
MWild1
parents: 146
diff changeset
11 In your config file, under the relevant host, add:
3b8d6c25756f Add Type-Storage tag, and a note that this module needs updating.
MWild1
parents: 146
diff changeset
12 {{{
3b8d6c25756f Add Type-Storage tag, and a note that this module needs updating.
MWild1
parents: 146
diff changeset
13 datastore = "couchdb";
3b8d6c25756f Add Type-Storage tag, and a note that this module needs updating.
MWild1
parents: 146
diff changeset
14 couchdb_url = "http://127.0.0.1:5984/database-name";
3b8d6c25756f Add Type-Storage tag, and a note that this module needs updating.
MWild1
parents: 146
diff changeset
15 }}}
3b8d6c25756f Add Type-Storage tag, and a note that this module needs updating.
MWild1
parents: 146
diff changeset
16
3b8d6c25756f Add Type-Storage tag, and a note that this module needs updating.
MWild1
parents: 146
diff changeset
17 = Compatibility =
3b8d6c25756f Add Type-Storage tag, and a note that this module needs updating.
MWild1
parents: 146
diff changeset
18
3b8d6c25756f Add Type-Storage tag, and a note that this module needs updating.
MWild1
parents: 146
diff changeset
19 Only works with trunk. As the trunk API is in flux, update this module as well when you update trunk.
3b8d6c25756f Add Type-Storage tag, and a note that this module needs updating.
MWild1
parents: 146
diff changeset
20
3b8d6c25756f Add Type-Storage tag, and a note that this module needs updating.
MWild1
parents: 146
diff changeset
21 = Quirks =
3b8d6c25756f Add Type-Storage tag, and a note that this module needs updating.
MWild1
parents: 146
diff changeset
22
3b8d6c25756f Add Type-Storage tag, and a note that this module needs updating.
MWild1
parents: 146
diff changeset
23 This implementation is a work in progress.
3b8d6c25756f Add Type-Storage tag, and a note that this module needs updating.
MWild1
parents: 146
diff changeset
24
3b8d6c25756f Add Type-Storage tag, and a note that this module needs updating.
MWild1
parents: 146
diff changeset
25 * The data stored in couchdb is limited to: account data, rosters, private XML and vCards