Additional Features
Smart Analytics

Configuring BI solution (Smart Analytics) via Docker

12min

4biz Analytics is a solution of Business Intelligence (BI) for analyzing the data from 4biz. The BI solution uses resources of the tools Saiku Analytics and Pentaho.

It is possible to have BI in your environment using the container structure of Docker, following the installation configuration.

Before getting started

The user must have Docker previously installed.

Procedure

Installation

  • Download citBI in here and then unzip;
  • Enter the command and then unzip:
Dockerfile


Command to build an image

Dockerfile

  • In the folder /citbi/composes, configure the database:
Dockerfile

Text

  • In the folder /citbi/composes:

Build and Start Container:

Text


Verify Log of Container:

Text


Configuration

  1. Access the saiku as a manager: http://127.0.0.1:8282/
  2. Add the Schema available on: /citbi/src/master/files/SchemaEnglish.xml
  3. Add DataSource: jdbc:postgresql://127.0.0.1:5432/4biz_equipeteste_equatorial

Useful Commands: Box

  1. Verify active containers:
Text


2. Verify inactive containers:

Text


3. Stop container:

Text


4. Remove container:

Text


What to do next

To enjoy the benefits of BI in your 4biz instance, it is necessary to configure the parameters 401 and 412.

To do so, access the main menu Parametrization > 4biz Parameters;