Skip to content

RedHatInsights/tasks-frontend

Repository files navigation

Build Status codecov

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

Getting started

  1. npm install

  2. npm run start:beta

  3. Open browser in URL listed in the terminal output

Update config/dev.webpack.config.js according to your application URL. Read more.

Testing

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

Deploying

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