Skip to content

Open-Source Decision Engine and Scoring Table for Big-Data.

License

Notifications You must be signed in to change notification settings

sujitrulz/gandalf.web

 
 

Repository files navigation

gandalf.web

Build Status

Gandalf Logo

This is a Front-End project for our Open-Source Decision Engine for Big-Data. You can find Back-End here: Nebo15/gandalf.api.

API docs is here.

Installation Guide

Docker

Deployment

UI can be deployed as a single container from nebo15/gandalf.web Docker Hub.

Configurations

Application supports these environment variables:

Environment Variable Default Value Description
PORT 8080 Node.js server port.
API_ENDPOINT - Gandalf API endpoint.
API_CLIENTID - Gandalf API Client ID
PROVIDERS_BUGSNAG_APIKEY - Bugsnag API KEY
PROVIDERS_BUGSNAG_STAGE - Bugsnag stage name, eg. development

Vagrant

Create .env file with configurations. Configure API access parameters and providers keys.

Vagrant

You can use Vagrant to intialize a development environment. Simply install it, cd into your project directory and run:

vagrant up

Also you can notice that we use Puppet as our configuration tool. Scripts located in /puppet directory of this repo. You can deploy code to your server and simply run:

set -o nounset -o errexit -o pipefail -o errtrace
trap 'error "${BASH_SOURCE}" "${LINENO}"' ERR
echo 127.0.0.1 gandalf.yourdomain.com | sudo tee -a /etc/hosts
sudo /bin/bash puppet/initial/init.sh -u "www-data"

And your server will be ready for production use!

Contribution

Technologies

  • Angular JS
  • GulpJS
  • Compass, Sass
  • Protractor JS

Requirements

  • Bower
  • Node JS
  • Compass
  • Gulp

Installation

npm i -g bower gulp
gem install compass

Usage

gulp ## build and open Gandalf on http://localhost:8080 and watch file changes

gulp build [--production] ## build project
gulp production # or gulp build --production

License

See LICENSE.md.

About

Open-Source Decision Engine and Scoring Table for Big-Data.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 50.6%
  • HTML 23.1%
  • CSS 15.8%
  • Puppet 5.4%
  • Shell 5.1%