This project contains an application with the Addons Configuration UI page for the Kyma Console. The view enables you to list Namespace-scoped and cluster-wide addons configurations.
The create-react-app project provides the structure for this application. Read the project's documentation for more information.
To install dependencies, run the npm install
command.
This section describes how to build the application, and how to build and publish the image.
Use the following command to build the application in the production environment, in the build
folder:
npm run build
The command allows you to correctly bundle React in the production mode, and optimize the build for the best performance.
The build is minified and the filenames include hashes.
-
Run the following command to build and run the Docker image:
sh ../scripts/build-docker-image.sh addons-ui docker run --rm -p 8004:80 docs-ui
-
Open
http://localhost:8004
in a browser.
Run the npm start
command to start the application in the development mode.
Open the [http://localhost:8004](http://localhost:8004)
link to view it in the browser.
The page reloads if you make edits. If lint errors appear, the console displays them.
Run the npm test
command to launch the test runner in the interactive watch mode.
See the Running Tests section in the Create React App documentation for more information.