Skip to content

aesirxio/bi-app

Repository files navigation

AesirX BI

AesirX BI is our Open Source Business Intelligence as a Service (BIaaS) Solution

It allows you to successfully gain legal 1st-party data insights for your business across multiple platforms and devices.

Safeguard your data and your customers' privacy with our Web Analytics solution (a Google Analytics alternative) that’s fully GDPR compliant and built on privacy by design; AesirX BI enables data-driven marketing in a privacy-first world.

Designed for easy integration, all data is collected through the AesirX JS Data Collector which is installed 1st-party on your website or application.

Find out more in https://bi.aesirx.io

Setup instructions

Setup the 1st party server

Follow the instructions in: https://github.com/aesirxio/analytics-1stparty/tree/master

Setup the Analytics JS Collector

Follow the instructions in: https://github.com/aesirxio/analytics/tree/master

Development

  1. This project is using Monorepos with git submodule. You need to run git submodule update --init --recursive after cloned the project.

  2. Run yarn install to install the dependencies.

  3. Run yarn prepare to build the dependencies.

  4. Rename the .env.dist file to .env.

  5. Replace license keys in the .env file with the one provided in your profile account.

    1. Replace the REACT_APP_BI_ENDPOINT_URL in the .env file with the link to your 1st party server for AesirX Analytics.
    2. Replace the REACT_APP_DATA_STREAM in the .env file with the name and domain to the your data-stream endpoint.
    3. Replace the REACT_APP_SSO_CLIENT_ID in the .env file with the provided REACT_APP_SSO_CLIENT_ID from https://dapp.shield.aesirx.io/licenses.
    4. Replace the REACT_APP_SSO_CLIENT_SECRET in the .env file with the provided REACT_APP_SSO_CLIENT_SECRET from https://dapp.shield.aesirx.io/licenses.
    5. PORT change the port. Default is 3000
  6. Run yarn dev

  7. Open http://localhost:3000 - 3000 is PORT to view it in the browser.

Production

Run on a webserver:

  1. Run yarn build after changed .env file.
  2. Upload packages/aesirx-bi-app/build folder to webserver.

Dockerize

  1. Run docker compose -f "docker-compose.yml" up -d --build after changed .env file.