Update README.md

This commit is contained in:
dqzboy 2022-10-12 13:47:09 +08:00 committed by GitHub
parent ae53384a18
commit 3bfbd5ebb5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,11 +67,18 @@ This is a K8s cluster management platformDKube 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
```