Skip to content
/ console Public
forked from y-kkamil/console

UI applications for Kyma administration

License

Notifications You must be signed in to change notification settings

hardl/console

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Console

Overview

Console is a web-based UI for managing resources within Kyma. It consists of separate front-end applications. Each project is responsible for providing a user interface for particular resource management.

Components

The Console project consists of the following UI projects:

  • Core - The main frame of Kyma UI
  • Catalog - The UI layer for Service Catalog
  • Instances - The view for displaying Service Instances
  • Brokers - The view for displaying Service Brokers
  • Addons - The view for displaying Namespace-scoped and cluster-wide Addons
  • Lambda - The view for lambda functions
  • Content - The documentation view
  • Log UI - The logs view
  • Compass - The experimental view for the Compass project.
  • Tests - Acceptance and end-to-end tests

The Console also includes React and Angular libraries:

Prerequisites

Installation

  1. Install Kyma as a backing service for your local instance of Console. Make sure you import certificates into your operating system and mark them as trusted. Otherwise, you cannot access the applications hosted in the kyma.local domain.

  2. Install Console dependencies. To install dependencies for the root and all UI projects, and prepare symlinks for local libraries within this repository, run the following command:

    npm run bootstrap

    NOTE: The npm run bootstrap command:

Usage

Use the following command to run the Console with the core and all other views locally:

npm run start

To access the local instance of the Console at http://console-dev.kyma.local:4200, use credentials from this document - point 3.

If you want to watch changes in the React libraries, run the following command in a new terminal window:

npm run watch:libraries

Development

Once you start Kyma with Console locally, you can start development. All modules have hot-reload enabled therefore you can edit the code real time and see the changes in your browser.

The Core and other UIs run at the following addresses:

If you want to run only a specific UI, follow the instructions in the appropriate folder.

Development with local GraphQL API

By default, the core and all other views are connected to the GraphQL API running on the cluster at this address. If you want to use local GraphQL API endpoint, follow the instructions in the Run a local version section of this document and run the following command:

npm run start:api

Run tests

For the information on how to run tests and configure them, go to the tests directory.

Troubleshooting

TIP: To solve most of the problems with the Console development, clear the browser cache or do a hard refresh of the website.

CI fails on PRs related to staging dependencies

Remove the node_modules folder and the package-lock.json file in all libraries in the components folder and on the root. Then rerun the npm run bootstrap command in the root context and push all the changes.

Can't access console.kyma.local and console-dev.kyma.local:4200 after hibernating the Minikube cluster

Follow the guidelines from this document to solve the problem.

About

UI applications for Kyma administration

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 34.7%
  • TypeScript 34.5%
  • CSS 23.6%
  • HTML 6.5%
  • Dockerfile 0.3%
  • Makefile 0.3%
  • Shell 0.1%