got-analytics
This is an example of IRIS Analytics dashboard which is made against the CSV file on causalities of The Game Of Thrones taken from Data World project
The dashboard can be examined here.
What this example is about?
It’s a demo how you can:
- use csvgen module to generate ObjectScript class and import data
- how to create a cube vs CSV and and visualise the data in IRIS Analytics
- how to build a docker container with this
- how to deploy docker container into GCP Kubernetes Engine (GKE) automatikally
Collaboration
This project is totally open for collaboration and pull requests
How to Develop with this project
Prerequisites
Make sure you have git and Docker desktop installed.
Installation
Fork or/and Clone/git pull the repo into any local directory
$ git git@github.com:evshvarov/got-analytics.git
Open the terminal in this directory and run:
$ docker-compose build
- Run the IRIS container with your project:
$ docker-compose up -d
How to Test it
Open in a browser the link: http://localhost:32814/dsw/index.html#!/d/Overview.dashboard?ns=IRISAPP”
How to start coding
This repository is ready to code in VSCode with ObjectScript plugin.
Install VSCode, Docker and ObjectScript plugin and open the folder in VSCode.
Open /src/cls/PackageSample/ObjectScript.cls class and try to make changes - it will be compiled in running IRIS docker container.
Feel free to delete PackageSample folder and place your ObjectScript classes in a form
/src/Package/Classname.cls
Read more about folder setup for InterSystems ObjectScript
The script in Installer.cls will import everything you place under /src into IRIS.
DSW version 3.1.21