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
This application requires Node.js as well as the dependencies specified in package.json
- Install the application and its dependencies
git clone https://github.com/cfpb/moirai
cd moirai
npm install -g coffee-script
npm install
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
.
- Copy the secret configs example and edit accordingly (see the Configuration section below)
cp src/config_secret.coffee.example src/config_secret.coffee
- Adjust the configuration settings (src/config.coffee) if necessary
- Compile the changes
cake build
- Update the
config.settings
andconfig_secret.coffee
settings for your CouchDB server (see Configuration above) - Push the CouchDB configs to the CouchDB server
cake sync_design_docs
- Start the API and the backend workers
cake runtestserver
cake runworker
cake test
This project is still under active development and is not ready for general use
If you have questions, concerns, bug reports, etc, please file an issue in this repository's Issue Tracker.
Please feel free to fork this repo and submit Pull Requests with any enhancements.