Files
kubevela/dashboard
Jianbo Sun aabd1e399a Merge pull request #1020 from zzxwill/app-creation-ui
Implement application creation page
2021-02-07 10:27:53 +08:00
..
2021-02-05 17:55:16 +08:00
2020-08-18 18:04:53 +08:00
2020-12-10 15:05:33 +08:00
2020-08-18 18:04:53 +08:00
2021-01-08 10:54:15 +08:00

KubeVela Dashboard

Quick start

In the root folder of this project, run make start-dashboard to start backend OpenAPI server and Dashboard at the same time.

➜  xxx/src/github.com/oam-dev/kubevela $ make start-dashboard
go run pkg/server/main/startAPIServer.go &
cd dashboard && npm install && npm start && cd ..
I0205 11:25:55.742786    5535 request.go:621] Throttling request took 1.002149891s, request: GET:https://47.242.145.141:6443/apis/coordination.k8s.io/v1beta1?timeout=32s
[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
 - using env:	export GIN_MODE=release
 - using code:	gin.SetMode(gin.ReleaseMode)

[GIN-debug] POST   /api/envs/                --> github.com/oam-dev/kubevela/pkg/server.(*APIServer).CreateEnv-fm (6 handlers)
[GIN-debug] PUT    /api/envs/:envName        --> github.com/oam-dev/kubevela/pkg/server.(*APIServer).UpdateEnv-fm (6 handlers)
[GIN-debug] GET    /api/envs/:envName        --> github.com/oam-dev/kubevela/pkg/server.(*APIServer).GetEnv-fm (6 handlers)
[GIN-debug] GET    /api/envs/                --> github.com/oam-dev/kubevela/pkg/server.(*APIServer).ListEnv-fm (6 handlers)

> fsevents@1.2.13 install /Users/zhouzhengxi/Programming/golang/src/github.com/oam-dev/kubevela/dashboard/node_modules/watchpack-chokidar2/node_modules/fsevents
> node install.js

  SOLINK_MODULE(target) Release/.node
  CXX(target) Release/obj.target/fse/fsevents.o
  SOLINK_MODULE(target) Release/fse.node

> ejs@2.7.4 postinstall /Users/zhouzhengxi/Programming/golang/src/github.com/oam-dev/kubevela/dashboard/node_modules/umi-webpack-bundle-analyzer/node_modules/ejs
> node ./postinstall.js

Thank you for installing EJS: built with the Jake JavaScript build tool (https://jakejs.com/)


> kubevela@0.0.1 postinstall /Users/zhouzhengxi/Programming/golang/src/github.com/oam-dev/kubevela/dashboard
> umi g tmp

added 1234 packages from 743 contributors, removed 49 packages, updated 85 packages and audited 3208 packages in 41.551s

235 packages are looking for funding
  run `npm fund` for details

found 19 vulnerabilities (18 low, 1 high)
  run `npm audit fix` to fix them, or `npm audit` for details

> kubevela@0.0.1 start /Users/zhouzhengxi/Programming/golang/src/github.com/oam-dev/kubevela/dashboard
> umi dev

Starting the development server...

✔ Webpack
  Compiled successfully in 34.81s

 DONE  Compiled successfully in 34815ms                                                                                                                                                                                                            11:27:12 AM


  App running at:
  - Local:   http://localhost:8002 (copied to clipboard)
  - Network: http://30.240.99.101:8002

Development

Install dependencies

npm install

Start up

npm start