Data Access Service console is the UI plugin for the Noobaa deployer (Managed Services). It works as a remote module for OpenShift Container Platform (OCP) console.
Data Access Service console works as a remote bundle for OCP console. To run Data Access Service 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 Access Service 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 Access Service 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.
Some E2E tests require certain AWS resources to exist, so in order to run the E2E tests locally, do the following:
- Create a .env file:
cp -n .env.example .env - Put your values for the environment variables in the .env file.