CouchDB 2.0 Developer Preview

This is an early, still in-development version of CouchDB. It is a significant departure from the 1.x series and will be foundation of the 2.0 version and beyond.

The target audience of this release are people who use CouchDB today and want to see what the future brings.

The CouchDB community is requesting feedback on the following areas:

Please report your findings to the Developer Maling List or the Issue Tracker.

Installation

We are working pre-built binaries, until then, follow these installation steps.

Prerequisites:

See the CouchDB Install file and the Fauxton Readme for more detailed instructions on how to get the prerequisites set up.

With this all in place, run the following commands:

  git clone https://git-wip-us.apache.org/repos/asf/couchdb.git
  npm install -g grunt-cli
  cd couchdb
  git checkout developer-preview-2.0
  ./configure
  make
  dev/run

The last command starts a three node cluster on the ports 15984, 25984 and 35984. They represent the endpoints in a three node cluster and you can connect to either one of them to access the full cluster.

We provide a haproxy config for the three cluster nodes, run:

  haproxy -f rel/haproxy.cfg

to listen on port 5984 and proxy to the nodes. You will have the CouchDB API available at port 5984 again.

To get started, visit Fauxton, the new web UI at http://127.0.0.1:5984/_utils