Git Product home page Git Product logo

gandalf.web's Introduction

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.

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

License

See LICENSE.md.

gandalf.web's People

Contributors

abrahaj avatar alexeybondarenko avatar andrewdryga avatar furmanjmx avatar gmile avatar samorai avatar satanpit avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gandalf.web's Issues

Gandalf Export Data Issue

@AndrewDryga and @alexeybondarenko
I have installed Gandalf API and Web on my local server and it's working fine as expected.
But If I move to the settings tab and want to export my data through a provided button "EXPORT YOUR DATA". It gives me an error. It will be really great if I hear from you guys regarding this asap.
Attached are the images of my screen and error for your reference.

Gandalf

Error-Gandalf

Thanks in advance.

Gandalf Customization Issues

Hi Everyone,

Below is the challenges which i am facing with Gandalf customization. If anyone have work on it or if there is any paid plugin kindly suggest.

▪ Can we create a multi select drop down in one field in table for multiple values parameter in table?
▪ Instead of id, we will pass the value in table field. Id will be in the background. We are going to link the ID in our database
▪ When we pass the response to our system as a key from the gandalf field then how we will update the id in our existing system like if we do the changes in ID 2 for value(HDFC) in table, it should be changed in all our system. How we will do backchannel for this?
▪ Is there any import/export plugin available by which we can import all the values and their parameters in table?
▪ If we hit approx 60 API at one time in parallel, then is it impact the loading speed of page? If yes then how we can overcome from that?
▪ Where I'll get all the paid plugin of Gandalf?
▪ API for fetching log with the help of key
▪ Script for shifting rules in MySQL to MongoDB

Looking forward to hearing from any one as earliest.

Thanks

@AndrewDryga FYI

Installation

Hi
i am trying to install into my localhost (windows 8 )
i have facing error when vagrant up.
Detail Installation guide if anything available Please share me.

installation

I am trying to setup gandalf web on the imac using MAMP PRO? any documentation avaialble how can I setup and use it as our database is accessible only via host os and not vagrant/docker

Installation error

Hello guys @AndrewDryga @gmile @abrahaj @AlexKovalevych @Troush

I am getting error during setting up gandalf.web . I used following steps : -

  1. Cloned gandalf.web
  2. run docker build -t gandalf_web .
  3. run docker run -p 80:8080 gandalf.web
  4. hit localhost:80 and getting Internal Server Error.

following error on terminal

> 2018-10-15-10:14:28 0|app      | {"message":"Error: Failed to lookup view \"index.html\" in views directory \"/opt/app/www\"\n    at EventEmitter.render (/opt/app/node_modules/express/lib/application.js:579:17)\n    at ServerResponse.render (/opt/app/node_modules/express/lib/response.js:960:7)\n    at /opt/app/server/index.js:25:7\n    at Layer.handle [as handle_request] (/opt/app/node_modules/express/lib/router/layer.js:95:5)\n    at next (/opt/app/node_modules/express/lib/router/route.js:131:13)\n    at Route.dispatch (/opt/app/node_modules/express/lib/router/route.js:112:3)\n    at Layer.handle [as handle_request] (/opt/app/node_modules/express/lib/router/layer.js:95:5)\n    at /opt/app/node_modules/express/lib/router/index.js:277:22\n    at Function.process_params (/opt/app/node_modules/express/lib/router/index.js:330:12)\n    at next (/opt/app/node_modules/express/lib/router/index.js:271:10)\n","timestamp":"2018-10-15T10:14:28.352Z","type":"err","process_id":0,"app_name":"app"}
> 2018-10-15-10:14:29 0|app      | {"message":"Error: Failed to lookup view \"index.html\" in views directory \"/opt/app/www\"\n    at EventEmitter.render (/opt/app/node_modules/express/lib/application.js:579:17)\n    at ServerResponse.render (/opt/app/node_modules/express/lib/response.js:960:7)\n    at /opt/app/server/index.js:25:7\n    at Layer.handle [as handle_request] (/opt/app/node_modules/express/lib/router/layer.js:95:5)\n    at next (/opt/app/node_modules/express/lib/router/route.js:131:13)\n    at Route.dispatch (/opt/app/node_modules/express/lib/router/route.js:112:3)\n    at Layer.handle [as handle_request] (/opt/app/node_modules/express/lib/router/layer.js:95:5)\n    at /opt/app/node_modules/express/lib/router/index.js:277:22\n    at Function.process_params (/opt/app/node_modules/express/lib/router/index.js:330:12)\n    at next (/opt/app/node_modules/express/lib/router/index.js:271:10)\n","timestamp":"2018-10-15T10:14:29.367Z","type":"err","process_id":0,"app_name":"app"}
> 

guys ,,, i got stuck here .... please help me to take out from here.

Thanks and Regrads
Prince Verma

Add Heroku deploys

  • Add Heroku one-click deploy button
  • Add demo application on Heroku
  • Enable auto-deploy for PR on Heroku with App Reviews

Feasibility of mathematical and logical operators among the parameters

@AndrewDryga and @alexeybondarenko ,
I have installed Gandalf API and Web on my local server and it's working fine as expected. Now I have requirement to use mathematical and logical operators.

Can we use mathematical and logical operators among the parameters captured in different columns. ?
Example on run time our application would calculate amount financed and we know Market value of the property. So we want mathematical operator to calculated Loan to value ration and make sure it is less than 80%
The formula would be (Amount financed/Market value) * 100 <= 80
such kind of rules....
Your help would be highly appreciated.

Getting ECONNRESET between WEB and API Docker containers

Hey guys

Great application - keen to make use of it and feedback a couple of features. Just having a problem getting things running as per the available Docker containers, which I've spent a bit of time on trying to figure out so would appreciate any help!

I'm getting the following error returned from the API to Node:

Error: read ECONNRESET
at exports._errnoException (util.js:1022:11)
at TCP.onread [as _originalOnread] (net.js:569:26)

I suspect it's something to do with it just PHP-FPM running on the API container and Node making a standard HTTP request, or perhaps it's missing something additional in the request it's making, but I'm not sure and haven't been able to dig in deeper. I've been able to make requests directly to the API outside of Docker using cgi-fcgi which have been OK.

I see other approaches detailed in some other tickets around use of NGINX, though following that through didn't immediately work for me.

Just wondering if you might please have some insight into the above that would allow me to get things going. DB seeding and .env configuration has all been done.

Thanks very much!

  • Tim.

Installation

Hi guys,
Need some help, the db migration scripts is not working on the api container.

I successfully managed to run both gandalf.api and gandalf.web. However the web is not being able to
communicate with the api. I can see from previous issues that we must run some migration scripts on the db. Can you please advice how to run those migration scripts. Is it the mongo scriots or php??

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.