#election #mongo-db #building #build #directories #irish

bin+lib mongoloid

A CLI for building Irish election databases in MongoDB

2 releases

Uses old Rust 2015

0.1.1 Oct 22, 2017
0.1.0 Oct 22, 2017

#22 in #election

GPL-3.0 license

16KB
268 lines

mongoloid

Build Status crates.io

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

Installation

  1. git clone https://github.com/ancamcheachta/toghchain.git
  2. cd toghchain/src/mongoloid
  3. cargo install

Usage

Note: prior to running mongoloid, cd into one of the /toghchain directories containing election data (eg. /dail).

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)

Dependencies

~15MB
~273K SLoC