Mongoman

Configures and starts local or distributed MongoDB clusters. This library is intended to be used for tests, and is not production-ready.

Features

Requirements

Installation

Add mongoman to your list of dependencies in mix.exs:

def deps do
  [{:mongoman, "~> 0.3.6"}]
end

Examples

Start a replica set named "my_repl_set" with 9 members:

alias Mongoman.{ReplicaSet, ReplicaSetConfig}
{:ok, pid} = ReplicaSet.start_link(ReplicaSetConfig.make("my_repl_set", 9))

Prior Art