dgreisen-cfpb / moirai

Home Page:https://github.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Moirai

Build Status

Coverage Status

Description: An API to create and manage AWS instances, written in Node.js.

  • Origin of the name: In Greek mythology, Moirai were the three Fates that controlled the thread of life.

  • Technology stack: Written in Node.js and utilizing the aws-sdk along with CouchDB, utilizes the Pantheon-Helpers platform. Will work standalone but was developed to work alongside Kratos

  • Status: Alpha

Dependencies

This application requires Node.js as well as the dependencies specified in package.json

Installation

  1. Install the application and its dependencies
git clone https://github.com/cfpb/moirai
cd moirai
npm install -g coffee-script
npm install

Configuration

The configuration for Moirai is split into two files: config.coffee and config_secret.coffee. The purpose of the secret file is to prevent accidentally committing confidential information such as passwords and access keys. Any config settings can go in either config file, and settings in config_secret.coffee will override settings in config.coffee.

  1. Copy the secret configs example and edit accordingly (see the Configuration section below)
cp src/config_secret.coffee.example src/config_secret.coffee
  1. Adjust the configuration settings (src/config.coffee) if necessary
  2. Compile the changes
cake build

Usage

  1. Update the config.settings and config_secret.coffee settings for your CouchDB server (see Configuration above)
  2. Push the CouchDB configs to the CouchDB server
cake sync_design_docs
  1. Start the API and the backend workers
cake runtestserver
cake runworker

How to test the software

cake test

Known issues

This project is still under active development and is not ready for general use

Getting help

If you have questions, concerns, bug reports, etc, please file an issue in this repository's Issue Tracker.

Getting involved

Please feel free to fork this repo and submit Pull Requests with any enhancements.


Open source licensing info

  1. TERMS
  2. LICENSE
  3. CFPB Source Code Policy

Credits and references

  1. AWS-SDK for Node.js

About

https://github.com

License:Creative Commons Zero v1.0 Universal


Languages

Language:CoffeeScript 91.3%Language:JavaScript 8.7%