Data Federation console is the UI plugin for the Noobaa deployer (Managed Services). It works as a remote module for OpenShift Container Platform console.
Data Federation console works as a remote bundle for OCP console. To run Data Federation console there should be a instance of OCP console up and running. Follow these steps to run OCP console in development mode:
-
Follow everything as mentioned in the console README.md to build the application.
-
Run the console bridge as follows:
a.
./bin/bridge -plugins mcg-ms-console=http://localhost:9002/(if you wish to run data federation only)b.
./bin/bridge -plugins odf-console=http://localhost:9001/ -plugins mcg-ms-console=http://localhost:9002/(in case you have a running instance of odf) -
Run development mode of console by going into
console/frontendand runningyarn run dev
After the OCP console is set as required by Data Federation console. Performs the following steps to make it run locally:
- Clone this repo.
- Pull all required dependencies by running
yarn install. yarn buildto build the plugin, generating output todistdirectory.yarn http-serverto start an HTTP server hosting the generated assets, or, run the development mode of mcg-ms-console usingyarn run dev. This runs a webserver in port 9002.