Skip to content

KubeLilin/dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kubelilin

An Cloud-Native application platform for Kubernetes.

Kubelilin dashboard

Kubelilin cloud native frontEnd .

PaaS 平台运行

FrontEnd

git clone https://github.com/KubeLilin/dashboard.git
cd dashboard/src
npm install --force
npm run start

Docker-Compose FrontEnd & Backend & MySQL

git clone https://github.com/KubeLilin/kubelilin.git
cd kubelilin/scripts
docker-compose  up -d

登录

  • 用户名: admin
  • 密 码: 1234abcd

Environment Prepare

Install node_modules:

npm install

or

yarn

Provided Scripts

Ant Design Pro provides some useful script to help you quick start and build with web project, code style check and test.

Scripts provided in package.json. It's safe to modify or add additional script:

Start project

npm run start

Build project

npm run build

Check code style

npm run lint

You can also use script to auto fix some lint error:

npm run lint:fix

Test code

npm test

export NODE_OPTIONS=--max_old_space_size=4096

Docker

docker build -f ./src/Dockerfile . -t yoyofx/kubelilin:v0.1

docker run -p 8092:8092 yoyofx/kubelilin:v0.1