Giter Club home page Giter Club logo

local_yellowfin's Introduction

Synopsis

This repo contains:

  • a Dockerfile and docker-compose file to run a Yellowfin instance locally.
  • a sbt project to run a client using Yellowfin Web Services API to talk to a Yellowfin instance.

Pre-requisite

  • Docker and docker-compose to spin up a local Yellowfin instance.
  • scala, sbt, and optionally IntelliJ to work with the sbt project.

How to run a local Yellowfin Instance

  • download a Yellowfin installation jar and place it inside yellowfin folder. For YF version look at https://analytics-nightly.comprehend.com/info.jsp for "Current Code Version:" property.
  • edit .env and update YELLOWFIN_VERSION to match the Yellowfin version of the installation jar.
  • run docker-compose up -d.
  • wait about 5 minutes, then you can begin using your local Yellowfin instance by visiting http://localhost:7900 in a web browser (login page will open in 5-10 seconds).
  • Login by open admin credentials, register your YF by license key (lic file) from Engineering hub.

How to run Yellowfin Web Services client

  • import the sbt project into IntelliJ.
  • update src/main/resources/application.conf to point the client at a running instance of Yellowfin.
  • update src/main/scala-2.12/com/comprehend/yfws_client/Main.scala to do something useful.
  • run com.comprehend.yfws_client.Main as the main object.

Notes

  • Yellowfin container will install Yellowfin in the container if Yellowfin is not already installed; this usually takes about 2-3 minutes.
  • uses an unsecured Postgres for persistence and the DB is not backed by disk. So if you have deleted the Postgres container, then you should probably delete yellowfin_installation folder as well to force re-installation on next launch.
  • mounts the entire Yellowfin app installation on host at yellowfin_installation.
  • Yellowfin will be listening on port 7900 on the host by default; this can be changed by editing YELLOWFIN_EXTERNAL_PORT in .env.
  • Postgres will be listening on port 7800 on the host by default; this can be changed by editing POSTGRES_EXTERNAL_PORT in .env.
  • Logs are stored at yellowfin_installation/appserver/logs/ folder in repo. Inside docker container there are not logs.

local_yellowfin's People

Contributors

mtsay-comprehend avatar rivanov-comprehend avatar

Watchers

James Cloos avatar Stephen Short avatar

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.