Skip to content

RedHatInsights/insights-dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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