We have a new wiki. The migration is not 100% complete. You can help out by moving pages across. This wiki will exist for as long as there are pages left.

The official documentation has moved to http://docs.couchdb.org — The transition is not 100% complete, but http://docs.couchdb.org should be seen as having the latest info. In some cases, the wiki still has some more or older info on certain topics inside CouchDB.

You need to be added to the ContributorsGroup to edit the wiki. But don't worry! Just email any Mailing List or grab us on IRC and let us know your user name.

Collecting tips and tricks that makes a CouchDB developer's life easier.

If you find yourself building CouchDB from scratch a lot the following shell script function might save some typing. This is sh-script, but only tested on bash. Add it to your .bashrc or .profile file or wherever you store shell customisations.

    if test -z "$1"; then
        echo "speficy target dir"
    ./bootstrap && \
    ./configure --prefix=$1 && \
    make -j4 && \
    make install

It gives you a new command in your shell buildcouch (just change the function name if you don't like it). Set the make -j value to the number of cores in your system +1.

cd Work/couchdb/trunk
buildcouch /path/to/testinstall

Tips_&_Tricks_for_developers (last edited 2011-11-23 15:21:39 by 62)