UI is used as federated module in app-services ui project that aggretates various service components.
NOTE: This repository is used as part of the console.redhat.com
npm install
npm run start
This will start the standalone app on https://prod.foo.redhat.com:1337/
.
- make sure you have
127.0.0.1 prod.foo.redhat.com
in your hosts file for this to work. - you can also change the backend (fleet-manager) that the app will point to in the
.env
file.
npm install
npm run start:federate
This will run a dev server on http://localhost:9002 that will serve a federated module named cos
.
In one terminal run the application in E2E mode:
npm run start:e2e
In a second terminal run Cypress in the interactive mode
npm run cypress:open
or if you want to run the tests against an headless Chrome
npm run cypress
If you are contributing please check out the Contributing Guidelines.