Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Packaging couchdb, lighttpd etc, and library dependencies, as binary gems
Ruby Shell
branch: master

README

This project creates a number of binary rubygems that encapsulate CouchDB. The gems are
platform specific, and don't require native compilation when installed.

Once you have installed the gems you can create/start/stop an instance of CouchDB like this:

require 'rubygems'
require "memetic-couchdb"

DB = Memetic::CouchDB.new("#{Dir.pwd}/development-db")
DB.add_external("search", "ruby #{Dir.pwd}/search/external.rb")
DB.add_erlang_path("#{Dir.pwd}/search/")
DB.add_configuration("log", "level", "debug")
# DB.add_configuration("httpd", "port", "5985")
puts DB.start
puts 'Hit enter to stop'
gets
puts DB.stop

Alternatively, you could have different scripts to do each action sharing a common DB setup,
or you might embed the entire control process without another application.
Something went wrong with that request. Please try again.