KubeClipper console is the web for KubeClipper.
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
.
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.
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
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.
yarn build
docker build -t kubeclipper-console .
Follow Contribution Rules to commit your codes.