Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 966 Bytes

README.md

File metadata and controls

24 lines (18 loc) · 966 Bytes

cloudant-search

This is a CouchDB 2.0 with full text search capabilities that follows the steps from this blog post from Cloudant.

Prerequisites

You need to have a recent version of Docker installed

Executing the Stack

Build the CouchDB image from the Dockerfile and run using the following:

docker build --tag="couchdb:search" ${PWD}
docker run -p 15984:15984 couchdb:search

There will be a Fauxton console available at http://localhost:15984/_utils

Full text searching is enabled and fully functional. See the Cloudant documentation for more info on how to test use the full text searching capabilities.

Running tests

It uses Serverspec to test the Dockerfile:

$ bundle
$ bundle exec rspec