Thursday, February 12, 2009

CouchDB install on Mac OSX -- the Fink way

On CouchDB wiki there are instructions how to install it from source but with MacPorts which I don't use. So I ventured to install it using Fink.

1. Install required fink packages

2. Apple ICU implementation is not complete so we will build own (this applies to ICU 4.0.1, check paths on the ICU site).

3. Compile CouchDB from repository

4. Check /usr/local/etc/couchdb/local.ini

(see /usr/local/etc/couchdb/default.ini for available parameters)

(optional) If you want to autostart CouchDB check /usr/local/Library/LaunchDaemons/org.apache.couchdb.plist and make required changes -- notably UserName and DYLD_LIBRARY_PATH keys. Make sure that user defined here have write privileges in dirs defined in default.ini or local.ini:

And add this to launchd:

5. Start CouchDB

Now you can use Futon to browse database and also you can verify your instalation by running test suite.

No comments:

Post a Comment