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.
UI can be deployed as a single container from nebo15/gandalf.web Docker Hub.
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 |
Create .env
file with configurations.
Configure API access parameters and providers keys.
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!
- Angular JS
- GulpJS
- Compass, Sass
- Protractor JS
- Bower
- Node JS
- Compass
- Gulp
npm i -g bower gulp
bower install
gem install compass
gulp ## build and open Gandalf on http://localhost:8080 and watch file changes
gulp build [--production] ## build project
gulp production # or gulp build --production
We want to thank our sponsors for supporting open source community.
Their products are awesome, give them a try :)!
See LICENSE.md.