moweiwei / console

kubeclipper console

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 yarn@1.22.4

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

About

kubeclipper console

License:Apache License 2.0


Languages

Language:JavaScript 90.6%Language:Less 8.4%Language:CSS 0.5%Language:Dockerfile 0.2%Language:HTML 0.1%Language:Makefile 0.1%Language:Shell 0.1%