Skip to content

hestiaAI/hestialabs-experiences

Repository files navigation

HestiaLabs Experiences

This repo currently contains three projects:

  • packages: Monorepo for packages used throughout the system, including data experience packages.
  • data-experience: Vue component for the data experience to visualize one data set. Every new dataset we want to visualise starts from there.
  • dc-dashboard: A library to generate interactive dashboards.
  • experiences: Nuxt app, where digipower.academy lives.

This repo is also dependent on the bubble-server

Setup

You must use the correct version of npm (8.x) and node (18.x) for this project, we recommend using nvm (installation).

First create a new directory, and clone this repo and the bubble-server:

git clone https://github.com/hestiaAI/hestialabs-experiences.git
git clone https://github.com/hestiaAI/hestialabs-bubble-server.git

You must use the correct version of node and npm to run the project (note that nvm for Windows may have a different syntax.)

nvm use lts/hydrogen

Then install and build the bubble-server:

cd hestialabs-bubble-server
# This line install Poetry, only needed if you don't have it already
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -
poetry install
poetry run pre-commit install

Then install and build the packages:

cd ../hestialabs-experiences/packages
npm i
npm run build
npm run prepare
npm link --workspaces

Then install and build data-experience:

cd ../data-experience

Add an extensionless environment file .env with the following configuration:

NODE_ENV=development

Then run

npm i
npm run build

You can run the data experience module in development mode with

npm run dev

Then install modules for the Nuxt app:

cd ../experiences
npm i

You can run the Nuxt app in development mode with

npm run dev