Skip to content

Latest commit

 

History

History
72 lines (46 loc) · 1.5 KB

README.md

File metadata and controls

72 lines (46 loc) · 1.5 KB

KubeClipper Console

KubeClipper console is the web for KubeClipper.

Getting Started

Prerequisite

Node.js

Console is written using Javascript. If you don't have a Node.js development environment, please set it up. The minimum version required is 12.18.

Yarn

We use Yarn to do package management. If you don't have yarn, use the following to install:

npm install -g [email protected]

The minimum version required is 1.22.4, but you can use a newer version.

Install dependencies

In the project root directory, same level as package.json.

yarn install

If you have trouble downloading the dependencies, try the following

yarn config set registry https://registry.npmmirror.com

Start console

config kubeclipper console apiserver:

module.exports = {
  devIp: 'xxxxxx:8080',
};
yarn start

Console app is running at port 8089, But if you not config correct apiserver, you shouldn't be able to login.

Build console

yarn build

How to build container image

docker build -t kubeclipper-console .

How to submit a PR

Follow Contribution Rules to commit your codes.

Others

  1. Catalog Introduction
  2. How To Develop
  3. I18n
  4. E2E & Unit Test