Skip to content

RedHatInsights/subscription-inventory-ui

Repository files navigation

Build Status

Subscriptions Inventory

An app to handle subscription management on cloud.redhat.com, built using the Starter App for Red Hat Insights products that includes Patternfly 4 and shared Red Hat cloud service frontend components.

Getting Started

  1. The first time you clone the repo, run npm install

  2. Add IPs to /etc/hosts by running sudo vi /etc/hosts, then add the following:

 127.0.0.1 prod.foo.redhat.com
 127.0.0.1 stage.foo.redhat.com
 127.0.0.1 qa.foo.redhat.com
 127.0.0.1 ci.foo.redhat.com

Note: The above command may differ if running on a machine other than Linux

  1. npm run start or npm run start:beta, depending on whether you want to run in stable or beta mode.

  2. Open one of the following environments behind the Red Hat VPN and accept the certs:

Should you need more help, there is a comprehensive quick start guide in the Storybook Documentation.

Testing

npm run verify will run npm run lint (eslint) and npm test (Jest)

Deploying

  • This repo uses Travis to deploy the webpack build to another Github repo defined in .travis.yml
    • That Github repo has the following branches:
      • ci-beta (deployed by pushing to master or main on this repo)
      • ci-stable (deployed by pushing to main-stable on this repo)
      • qa-beta (deployed by pushing to main on this repo)
      • qa-stable (deployed by pushing to main-stable on this repo)
      • prod-beta (deployed by pushing to prod-beta on this repo)
      • prod-stable (deployed by pushing to prod-stable on this repo)
  • Travis uploads results to RedHatInight's codecov account. To change the account, modify CODECOV_TOKEN on https://travis-ci.com/.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published