mirekdlugosz / insights-dashboard

The Dashboard frontend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status

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.

Build app

  1. npm install

  2. npm start

    • starts webpack bundler and serves the files with webpack dev server

OR

  1. npm run start:proxy
  • starts webpack bundler and serves the files with webpack dev server and runs chrome proxy (prod env) (one less terminal required)
  1. visit https://prod.foo.redhat.com:1337/insights/dashboard/

Testing

  • Travis is used to test the build for this code.

    • npm run test will run linters and tests

Deploying

How it works

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

About

The Dashboard frontend

License:Apache License 2.0


Languages

Language:JavaScript 85.3%Language:SCSS 14.4%Language:Shell 0.2%Language:HTML 0.1%