# mongoloid
[](https://travis-ci.org/ancamcheachta/toghchain)
A CLI for building Irish election databases in MongoDB.
`mongoloid` is responsible for validating the Travis build of `toghchain`, and
is also the fastest and easiest way to get a working copy of an Irish election
database up and running on your own instance of MongoDB.
## Requirements
* [Rust](https://www.rust-lang.org/en-US/install.html)
* [MongoDB](https://docs.mongodb.com/manual/installation/)
## Installation
1. `git clone https://github.com/ancamcheachta/toghchain.git`
2. `cd toghchain/src/mongoloid`
3. `cargo install`
## Usage
```bash
Usage:
mongoloid [OPTIONS]
Mongoloid election database builder
optional arguments:
-h,--help show this help message and exit
-d,--database DATABASE
name of database to build (optional)
```