summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorStefano J. Attardi <stefano@attardi.org>2010-08-23 15:26:36 -0400
committerStefano J. Attardi <stefano@attardi.org>2010-08-23 15:26:36 -0400
commit0d3e5c26d749edb3a54682df7f4280594444c135 (patch)
tree3f77813f7e766d28ae8e291b4e406aa67ed42a62 /README.md
parentecbf10fee69deeaec6d2a7f5d8f9679253af3f7d (diff)
Added more detailed dependency installation instructions for Ubuntu
and Mac OS X.
Diffstat (limited to 'README.md')
-rw-r--r--README.md28
1 files changed, 22 insertions, 6 deletions
diff --git a/README.md b/README.md
index 7d060bfe..ff262fb7 100644
--- a/README.md
+++ b/README.md
@@ -9,21 +9,36 @@ Clusters behave according to concepts outlined in [Amazon's Dynamo paper][4], na
### Contents
* README.md this file
- * INSTALL instructions on how to install dbcore
* LICENSE open-source license governing dbcore
### Getting Started
-For detailed installation instructions, please consult the INSTALL file
-
#### Prerequisites
- * Erlang R13B03 or higher
+Cloudant Core has the same dependencies as CouchDB:
+
+ * Erlang (R13B03 or higher)
* ICU (4.2 is preferable)
- * Spidermonkey (1.9.2 preferable, [https://launchpad.net/~commonjs/+archive/ppa/][6]) and symlink /usr/lib/libmozjs-1.9.2.so to /usr/lib/libmozjs.so to make things easier
+ * Spidermonkey (1.9.2 preferable, [https://launchpad.net/~commonjs/+archive/ppa/][6])
+ * LibCurl
* OpenSSL
* make
- * Python 2.4 or higher
+ * Python (2.4 or higher)
+
+#### Installing prerequisites on Ubuntu
+
+ sudo apt-get install erlang libicu42 libcurl-openssl-dev
+
+To install Spidermonkey 1.9.2 from PPA:
+
+ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 74EE6429
+ sudo echo "deb http://ppa.launchpad.net/commonjs/ppa/ubuntu karmic main" >> /etc/apt/sources.list
+ sudo apt-get update
+ sudo apt-get install libmozjs-1.9.2 libmozjs-1.9.2-dev
+
+#### Installing prerequisites on Mac OS X with (Homebrew)[7]
+
+ brew install erlang icu4c spidermonkey
#### Building and installing dbcore
@@ -107,3 +122,4 @@ Cloudant folks are usually hanging out in IRC. Freenode, channel #cloudant. We
[4]: http://www.allthingsdistributed.com/2007/10/amazons_dynamo.html
[5]: http://loadbalancer:5984/_utils
[6]: https://launchpad.net/~commonjs/+archive/ppa/
+[7]: http://mxcl.github.com/homebrew/