Skip to content

Latest commit

 

History

History
50 lines (29 loc) · 1.81 KB

README.md

File metadata and controls

50 lines (29 loc) · 1.81 KB

Brokers UI

Overview

The project contains an application with the Service Brokers UI page for the Kyma Console. The view enables you to list the Service Brokers.

The Create React App project provides the structure for this application. Read the project's README document for more information.

Installation

To install the dependencies, run the npm install command.

Usage

This section describes how to build the application, and how to build and publish the image.

Build an application

Run the npm run build command to build the application for production in the build folder. The command allows you to bundle React in the production mode correctly, and to optimize the build for the best performance.

The build is minified and the filenames include hashes.

Build and run a Docker image

Run the following command to build and run the Docker image:

sh ../scripts/build-docker-image.sh brokers-ui
docker run --rm -p 3000:80 brokers-ui
open http://localhost:3000 or http://localhost:3000/status in a browser

Development

This section describes how to run and test the application.

Run the application

Run the npm start command to start the application in the development mode. Open the [http://localhost:8002](http://localhost:8002) link to view it in the browser.

The page reloads if you make edits. If lint errors appear, the console displays them.

Test the application

Run the npm test command to launch the test runner in the interactive watch mode.

See the Running Tests section in this README.md document for more information.