Skip to content

RedHatInsights/insights-dashboard

Folders and files

NameName
Last commit message
Last commit date
Jan 30, 2025
Jan 27, 2025
Jul 21, 2023
Jun 3, 2024
Aug 13, 2024
Oct 17, 2024
Mar 15, 2019
Dec 2, 2024
Jan 28, 2021
Apr 17, 2024
Sep 20, 2018
Jan 30, 2025
May 10, 2021
Jul 31, 2024
May 21, 2018
Jul 31, 2024
Jun 24, 2024
May 2, 2022
Jan 4, 2023
Jan 4, 2023
Jan 30, 2025
Aug 22, 2022
Jan 30, 2025
Jan 30, 2025
Oct 8, 2024
Oct 8, 2024
Aug 28, 2020
May 29, 2024

Repository files navigation

Build Status codecov

insights-dashboard

Built to match the mockups here https://marvelapp.com/a5c8bcg/screen/66136610

Getting Started

There is a comprehensive quick start guide in the Storybook Documentation to setting up an Insights environment complete with:

Note: You will need to set up the Insights environment if you want to develop with the app due to the consumption of the chroming service as well as setting up your global/app navigation through the API.

Developing

First time setup

  1. Make sure you have Node.js and npm installed
  2. Run script to patch your /etc/hosts
  3. Make sure you are using Red Hat proxy
  4. Clone this repository
  5. Run npm install to install dependencies

Running locally

  1. Run npm run start:proxy to start chrome proxy and webpack bundler which serves the files with webpack dev server
  2. App will be running at https://stage.foo.redhat.com:1337/insights/dashboard/

Testing

Testing locally

  • npm run test will run all tests
  • npm run lint will run linter

Deploying

The app uses containerized builds which are configured in app-interface.

Environment Available at Deployed version
stage https://console.stage.redhat.com master branch
production https://console.redhat.com up to the commit configured in app-interface