Skip to content
This repository has been archived by the owner on Apr 29, 2019. It is now read-only.

Latest commit

 

History

History
66 lines (44 loc) · 1.35 KB

BUILD.md

File metadata and controls

66 lines (44 loc) · 1.35 KB

Perquisites

Couchfuse creates both a jar file and a deb package, note that currently only Ubuntu 11.10 64bit is supported.

In order to build it the following perquisite should be meet:

Installations

  • Virtualbox (Vagrant is used to hold a Couchdb instance)

  • lein

  • RVM and Ruby 1.9.2 (see .rvmrc for exact version), create couch-fuse gemset

  • sun-jdk-1.6

Packages and sandbox

fuse4j:

 $ sudo aptitude install maven
 $ git clone git://github.com/narkisr/fuse4j.git
 $ cd fuse4j/maven/fuse4j-core
 $ mvn install 
 $ cd fuse4j/maven/
 # installing only parent pom
 $ mvn install -N 

Bundler and gems:

 $ cd couch-fuse
 $ gem install bundle    
 $ bundle install 

Install Ubuntu 12.04 box and fire the couchdb sandbox machine:

  $ vagrant box add ubuntu-12.04 http://files.vagrantup.com/precise64.box
  # This will start a VM with a couchdb instance port forwarded to port 5983
  $ vagrant up

Build

Run tests:

  $ lein deps
  $ lein native-deps
  # Running lein through rake in order for it to set LD_LIBRARY_PATH
  $ rake 'lein[compile]'
  $ rake 'lein[test]'

Build deb:

 $ rake deb