Skip to content

chambridge/hybrid-committed-spend-ui

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hybrid Committed Spend

AGPLv3 Build Status

hybrid-committed-spend

React.js app for Red Hat Hybrid Committed Spend.

User interface is based on Red Hat cloud service frontend components and Patternfly Patternfly

To submit an issue, please visit https://issues.redhat.com/projects/HCS/issues

Initial etc/hosts setup

In order to access the https://[env].foo.redhat.com in your browser, you have to add entries to your /etc/hosts file. This is a one-time setup that has to be done only once (unless you modify hosts) on each machine.

To setup the hosts file run following command:

npm run patch:hosts

If this command throws an error run it as a sudo:

sudo npm run patch:hosts

Getting started

  1. npm install

  2. npm run start

  3. Open browser in URL listed in the terminal output. For example:

https://stage.foo.redhat.com:1337/beta/business-services/hybrid-committed-spend

Testing

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

Testing UI changes locally with Cloud Services Config

See https://github.com/RedHatInsights/cloud-services-config#testing-your-changes-locally

npm run start:csc

Deploying

This release doc describes how to release the UI to each staging environment.

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 97.5%
  • JavaScript 1.5%
  • Other 1.0%