Sha256: ad42fa8271dac11b533f6b8788930caa3236d4b69fd4a527431fc36ab8faf6a3

Contents?: true

Size: 894 Bytes

Versions: 9

Compression:

Stored size: 894 Bytes

Contents

# Integration Test Environment

This folder contains utilities for setting up a mongo environment and running the console against it.
This is only really useful if you are working on the source code. If you're just using the gem you can ignore this stuff.

## Available Environments

### Standalone DB

* init the environment `create_two_standalone_dbs` - this creates 2 mongod instances on 27018/27019
* To run the console go: `bundle exec bin/mongo-db-utils console integration-test-env/standalone/config.yml`

* kill the environment `kill_processes standalone/.processes`


### Replica Set DBs

* `create_two_replica_sets`
* `replica_sets/rs_config` - you'll probably have to run this a few times
* `seed_replica_sets`
* run the console: `bundle exec bin/mongo-db-utils console integration-test-env/replica_sets/config.yml`

* kill the environment `kill_processes replica_sets/.processes`


Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
mongo-db-utils-0.2.1 integration-test-env/README.md
mongo-db-utils-0.2.0 integration-test-env/README.md
mongo-db-utils-0.1.6 integration-test-env/README.md
mongo-db-utils-0.1.5 integration-test-env/README.md
mongo-db-utils-0.1.4 integration-test-env/README.md
mongo-db-utils-0.1.3 integration-test-env/README.md
mongo-db-utils-0.1.2 integration-test-env/README.md
mongo-db-utils-0.1.0 integration-test-env/README.md
mongo-db-utils-0.0.9.3 integration-test-env/README.md