This is the front-end for EnerShare AI4EF, created with Create React App..
Runs the app in the development mode. The page will reload when you make changes.
Open http://localhost:3000 to view it in your browser, after following these steps:
Clone the project's repository
cd .\consumption-flexibility-prediction-dashboard\
npm install
- Open the file
Keycloak.js
, which is inside the\src
folder. - Uncomment the configuration which is indicated with
// local deployment
comment and comment out the// NTUA deployment configuration
one. npm start
Alternatively, after step 5
, you can run docker compose up --build
and deploy the dashboard with docker-compose
on your machine.
You can deploy this dashboard on a VM with docker-compose, following these steps:
Clone the project's repository
cd .\leif-usecase-dashboard\
docker compose up --build
However, this dashboard is integrated with EnerShare's Security Framework, which is based on an open-source identity
and access management solution, namely Keycloak.
Unauthorized access is prevented when running this dashboard, and you must have a registered client in the project's
Security Framework to be able to run it on your VM.