intertwingly

It’s just data

Building CouchDB


I *really* want to play with CouchDB.

Update: Ciaran has posted new build instructions

sudo apt-get install build-essential erlang libicu34 libicu34-dev libreadline5-dev
cd ~/svn
svn checkout http://couchdb.googlecode.com/svn/trunk couchdb
cd couchdb
export ERLANG_INCLUDE_DIR=/usr/lib/erlang/usr/include
sh build.sh | tee build.log
sh build.sh --install=$HOME | tee install.log

Then to start the server:

cd $HOME/couchdb
sh bin/startCouchDb.sh

You can verify that the server is alive by visiting http://localhost:8888/.

You can run a set of javascript tests by visiting http://localhost:8888/_utils/couch_tests.html (example output).

You can interact with the server directly via JavaScript by visiting http://localhost:8888/_utils/shell.html, for example:

var req = new XMLHttpRequest();
req.open("PUT", "/foo");
req.send("");
req.responseText;
{"ok":true}
req.open("POST", "/foo/_temp_view");
req.send("function(doc) { return doc }");
req.responseText;
{"view":"_temp_view:function(doc) { return doc }","total_rows":0,"rows":[]}
req.open("DELETE", "/foo");
req.send("");
req.responseText;
{"ok":true}

Does anybody know a mailing list or IRC channel where the CouchDB developers hang out?