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:hostsIf this command throws an error run it as a sudo:
sudo npm run patch:hosts-
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)
| Push to branch in this repo | Updated branch in build repo | Environment | Available at |
|---|---|---|---|
| master | stage-beta | stage beta | https://console.stage.redhat.com/preview |
| stage-stable | stage-stable | stage stable | https://console.stage.redhat.com |
| prod-beta | prod-beta | production beta | https://console.redhat.com/preview |
| prod-stable | prod-stable | production stable | https://console.redhat.com |