Advanced Cluster Security application for the consoledot platform that includes Patternfly 4 and shared Red Hat cloud service frontend components.
In order to access the https://[env].foo.redhat.com URL 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:
sudo npm run patch:hosts
If this command throws an error you can manually add the following to /etc/hosts
:
127.0.0.1 prod.foo.redhat.com
127.0.0.1 stage.foo.redhat.com
If you want to access stage.foo, even though staging is not utilized, you have to follow this guide and set up the Red Hat Squid proxy. Depending on what browser you use, choosing either Firefox, Chrome, or Safari would be a good choice.
-
npm install
-
npm run start
-
select
prod
->beta
-
Open browser to the URL listed in the terminal output
Note: You will need to register for a personal Red Hat Account if you haven't already. You'll need it in order to log into the UI
npm run verify
will run npm run lint
(eslint) and npm test
(Jest)
prod
- Productionbeta
- Some UI features or even services are in a pre-release or preview state. Usually only in stage.stable
- Non-beta stable version
- The starter repo uses Travis to deploy the webpack build to another Github repo defined in
.travis.yml
- Pushing to the specified branches will update the following environments
main
->stage-beta
prod-beta
->prod-beta
stage-stable
->stage-stable
prod-stable
->prod-stable
- Pushing to the specified branches will update the following environments
These are the urls for each branch:
- main -> https://console.stage.redhat.com/preview
- prod-beta -> https://console.redhat.com/preview
- stage-stable -> https://console.stage.redhat.com
- prod-stable -> https://console.redhat.com