SkillAgentSearch skills...

Gandalf.web

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

Install / Use

/learn @Nebo15/Gandalf.web

README

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
bower install
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

Sponsors

We want to thank our sponsors for supporting open source community.

<a href="https://www.digitalocean.com/"><img src="https://www.digitalocean.com/assets/media/logos-badges/png/DO_Powered_by_Badge_blue-fe4c6688.png" width="150" /></a>

<a href="https://www.browserstack.com/"><img src="https://cloud.githubusercontent.com/assets/7864462/12837037/452a17c6-cb73-11e5-9f39-fc96893bc9bf.png" width="150" /></a>

<a href="https://blog.bugsnag.com/bugsnag-loves-open-source"><img src="https://www.bugsnag.com/images/logo-f11ffe87.svg" width="150" /></a>

Their products are awesome, give them a try :)!

License

See LICENSE.md.

Related Skills

View on GitHub
GitHub Stars45
CategoryDevelopment
Updated2y ago
Forks25

Languages

JavaScript

Security Score

80/100

Audited on Aug 16, 2023

No findings