public
Description: Couchdb backend for ejabberd
Homepage:
Clone URL: git://github.com/twonds/ejabberd_couchdb.git
name age message
file .gitignore Tue Apr 07 10:57:19 -0700 2009 add beams and other junk to gitignore [twonds]
file Makefile.am Wed Jun 10 07:13:03 -0700 2009 fix syntax and other bugs, we can compile and t... [twonds]
file README.md Thu May 07 07:41:52 -0700 2009 fix config in readme [twonds]
file acinclude.m4 Tue Apr 07 06:53:13 -0700 2009 initial commit for couchdb backend to ejabberd [twonds]
file bootstrap.sh Tue Apr 07 06:53:13 -0700 2009 initial commit for couchdb backend to ejabberd [twonds]
file configure.ac Thu Jun 11 12:56:51 -0700 2009 finish up api, fix small bugs so that tests pass [twonds]
directory ebin/ Tue Apr 07 06:53:13 -0700 2009 initial commit for couchdb backend to ejabberd [twonds]
directory src/ Thu Jun 11 16:25:48 -0700 2009 remove error message [twonds]
README.md

Ejabberd storage and authentication using couchdb

This is a collection of erlang modules for providing couchdb support for ejabberd. Similar to the odbc and ldap modules in the ejabberd distribution. Right now it only supports authentication.

Authentication Schema

{ id: "tofu@xmppserver.tld", rev: "...", email: "tofu@collecta.com", password: "SHA1:sha1-hash" }

INSTALL

  1. Install ejabberd
    • NOTE: If you do not use source make sure you get developement packages.
  2. Install ecouch -
    • located at the following url : http://code.google.com/p/ecouch/
  3. Install ejabberd-couchdb
    •  ./bootstrap.sh ;./configure;make install
      
  4. Configure ejabberd
    • Add couch as the authentication module.
      {auth_method, couchdb}.
           
    • Configure couchdb options.
      {couchdb_options, [
                {host,"localhost"},
                {port,"5489"},
                {user, none},
                {pass, none}  
                ]}.