Mercurial > prosody-wiki
changeset 142:d3dd8fdcae1d
mod_couchdb: Basic docs.
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Sat, 10 Jul 2010 01:52:36 +0500 |
parents | 9add3ebe92f4 |
children | e38bd149d0c7 |
files | mod_couchdb.wiki |
diffstat | 1 files changed, 30 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mod_couchdb.wiki Sat Jul 10 01:52:36 2010 +0500 @@ -0,0 +1,30 @@ +#summary A CouchDB backend for Prosody +#labels Stage-Alpha + += Introduction = + +This is an experimental Prosody backend for CouchDB. + += Configuration = +In your config file, in the global section add: +{{{ +datastore = "couchdb"; +couchdb_url = "http://127.0.0.1:5984/database-name"; +}}} +In your config file, in the modules_enabled list, add "storage" as the first module: +{{{ +modules_enabled = { + "storage"; + ... +} +}}} + += Compatibility = + +Only works with trunk. As the trunk API is in flux, update this module as well when you update trunk. + += Quirks = + +This implementation is a work in progress. + + * The data stored in couchdb is limited to: account data, rosters, private XML and vCards