Skip to content

Commit

Permalink
Update instructions for the new way to build GeoCouch as a plugin; cl…
Browse files Browse the repository at this point in the history
…oses #29
  • Loading branch information
jhs committed Feb 10, 2012
1 parent ff92149 commit 14a38e8
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions README.md
Expand Up @@ -177,16 +177,13 @@ For example, to build with Erlang R13B04 release:
Add a `git` parameter with the repository URL, then a space, then the branch, Add a `git` parameter with the repository URL, then a space, then the branch,
tag, or commit hash. (Remember to quote all of those so Rake sees the space.) tag, or commit hash. (Remember to quote all of those so Rake sees the space.)


Want to build [GeoCouch][geocouch]? No problem.

rake git="git://github.com/vmx/couchdb geocouch"

### CouchDB Plugins ### CouchDB Plugins


Any CouchDB plugin can be loaded remotely from Git, built, and installed Any CouchDB plugin can be loaded remotely from Git, built, and installed
into the final CouchDB system. into the final CouchDB system.


rake plugin="git://github.com/vmx/couchdb origin/gc-separate" rake plugin="git://github.com/couchbase/geocouch origin/couchdb_1.2.x"
# (Or perhaps origin/couchdb_1.1.x)


Multiple plugins can be processed together: Multiple plugins can be processed together:


Expand All @@ -201,17 +198,13 @@ Add an `install` parameter to place the final couchdb binaries anywhere.


Build CouchDB makes it simple to install several couchdb versions side-by-side. Build CouchDB makes it simple to install several couchdb versions side-by-side.


rake git="git://github.com/vmx/couchdb geocouch" install=geocouch rake install=stable
rake git="git://git.apache.org/couchdb.git trunk" install=trunk rake git="git://git.apache.org/couchdb.git trunk" install=trunk
for tag in 1.0.1 11.0 11.1; do for tag in 1.0.1 11.0 11.1; do
rake git="git://git.apache.org/couchdb.git tags/$tag" install=$tag rake git="git://git.apache.org/couchdb.git tags/$tag" install=$tag
done done


Note that `install` needs to be an absolute path. Use: Note that `install` needs to be an absolute path.

`pwd`/geocouch

e.g. creates the directory `geocouch` in your current directory.


For **side-by-side installs** there is a small shortcut to avoid rebuilding Erlang: For **side-by-side installs** there is a small shortcut to avoid rebuilding Erlang:
use the `couchdb_build` variable instead, which will install CouchDB separately use the `couchdb_build` variable instead, which will install CouchDB separately
Expand Down

0 comments on commit 14a38e8

Please sign in to comment.