Writing Archive

Recipe: How-to install CouchDB 0.11.0 from source on OS X

Prerequisite: MacPorts installed and SVN client at hand – I prefer a UI and therefore use Versions.

  • sudo port install autoconf automake libtool
  • sudo port install icu erlang spidermonkey curl
  • svn co http://svn.apache.org/repos/asf/couchdb/tags/0.11.0 couchdb-0.11.0-src
  • cd couchdb-0.11.0-src
  • ./bootstrap
  • ./configure
    >> You have configured Apache CouchDB, time to relax.
  • make && sudo make install
    >> You have installed Apache CouchDB, time to relax.
  • Start the CouchDB server by running: sudo -i couchdb -b
    >> Apache CouchDB has started, time to relax.
  • To check that everything has worked, point your web browser to: http://127.0.0.1:5984/_utils/index.html

Usefull resources:

Read more...

CouchDB, finally relaxing!!

The other day(s) I found myself relaxing while coding away a pet project (a tiny schemaless personal project, activity and knowledge management web application) leveraging CouchDB and jQuery.

“CouchDB is a document-oriented database that can be queried and indexed in a MapReduce fashion using JavaScript [...] provides a RESTful JSON API than can be accessed from any environment that allows HTTP requests [...] is written in Erlang [...]”
(Source: couchdb.apache.org)

Check out CouchApp in order to write CouchDB applications by using just JavaScript and HTML.

“CouchApp is designed to structure standalone CouchDB application development for maximum application portability. CouchApp is a set of scripts and a jQuery plugin designed to bring clarity and order to the freedom of CouchDB’s document-based approach.”
(Source: CouchApp)

Read more...