To access the https://[env].foo.redhat.com in your browser, 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
npm install
npm run start:proxy
- Open the browser URL listed in the terminal output, eg https://stage.foo.redhat.com:1337/insights/tasks if you chose the stage environment.
Running npm run verify
will run both npm run lint
(eslint) and npm test
(Jest)