React.js starter app for Red Hat Insights products that includes Patternfly 4 and shared Red Hat cloud service frontend components.
-
npm install
-
PROXY=true npm run start:beta
-
Open browser in URL listed in the terminal output
Update config/dev.webpack.config.js
according to your application URL. Read more.
npm run verify
will run npm run lint
(eslint) and npm test
(Jest)
- The starter 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 tomaster
ormain
on this repo)ci-stable
(deployed by pushing toci-stable
on this repo)qa-beta
(deployed by pushing toqa-beta
on this repo)qa-stable
(deployed by pushing toqa-stable
on this repo)prod-beta
(deployed by pushing toprod-beta
on this repo)prod-stable
(deployed by pushing toprod-stable
on this repo)
- That Github repo has the following branches:
- Travis uploads results to RedHatInsight's codecov account. To change the account, modify CODECOV_TOKEN on https://travis-ci.com/.