RedHatInsights / sed-frontend

Home Page:https://console.redhat.com/insights/connector

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status codecov

Red Hat Connector Dashboard

First time setup

Quick start

  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

Comprehensive documentation

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

Running locally

  1. Install dependencies with npm install
  2. Run development server with npm run start:proxy
  3. Choose an environment of your choice
  4. Local version of the app will be available at respective location and link will be provided in the terminal

Testing

  • npm run verify will run linters and tests
  • Travis is used to test the build for this code.

Deploying

  • The Platform team is using Travis to deploy the application

How it works

  • any push to the sed-frontend master branch will deploy to a sed-frontend-build ci-beta and qa-beta branch
  • any push to the sed-frontend master-stable branch will deploy to a sed-frontend-build ci-stable and qa-stable branch
  • any push to the sed-frontend prod-beta branch will deploy to a sed-frontend-build prod-beta branch
  • any push to the sed-frontend prod-stable branch will deploy to a sed-frontend-build prod-stable branch
  • Pull requests (based on master) will not be pushed to sed-frontend-build master branch
    • If the PR is accepted and merged, master will be rebuilt and will deploy to sed-frontend-build ci-beta branch

Patternfly

Insights Components

Platform experience will deliver components and static assets through npm. ESI tags are used to import the chroming which takes care of the header, sidebar, and footer.

Technologies

Webpack

There is shared common config with predefined values and lifecycles to build and run your application.

We use federated modules to seamlessly load multiple application.

About

https://console.redhat.com/insights/connector

License:Apache License 2.0


Languages

Language:JavaScript 97.9%Language:Shell 1.6%Language:SCSS 0.3%Language:HTML 0.3%