You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by Apache Wiki <wi...@apache.org> on 2009/03/07 14:04:35 UTC

[Couchdb Wiki] Update of "Tips & Tricks for developers" by JanLehnardt

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The following page has been changed by JanLehnardt:
http://wiki.apache.org/couchdb/Tips_%26_Tricks_for_developers

New page:
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.

{{{
buildcouch()
{
    if test -z "$1"; then
        echo "speficy target dir"
        return
    fi
    ./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).

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