From 3bfbd5ebb598a2940ca80ccc594ea08bfb7ac654 Mon Sep 17 00:00:00 2001 From: dqzboy <42825450+dqzboy@users.noreply.github.com> Date: Wed, 12 Oct 2022 13:47:09 +0800 Subject: [PATCH] Update README.md --- README.md | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 4f610ec..faf1207 100644 --- a/README.md +++ b/README.md @@ -67,11 +67,18 @@ This is a K8s cluster management platform;DKube Provides a wizard-style operat ## 使用 -- 修改config路径`config/config.go` +- 修改kube-config路径: `config/config.go` + +```shell +Kubeconfig = "/root/.kube/config" +``` -`Kubeconfig = "/root/.kube/config"` - 后端 -`env GOOS=linux GOARCH=amd64 go build -o DKube-Server main.go` +```go +env GOOS=linux GOARCH=amd64 go build -o DKube-Server main.go +``` -- 前端`dkube-web` -`npm run build` +- 前端 `dkube-web` +```shell +npm run build +```