### _Why are the changes needed?_ Close #3648 ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [ ] [Run test](https://kyuubi.readthedocs.io/en/master/develop_tools/testing.html#running-tests) locally before make a pull request Closes #4793 from zwangsheng/KYUUBI_3648. Closes #3648 e5fe04f7a [zwangsheng] debug a14c6d325 [zwangsheng] debug eb96cf0dc [zwangsheng] retest 5cfbb64c5 [zwangsheng] Add UT 7a83a01b0 [zwangsheng] [KYUUBI #3648][UI] Add Session Detail Page Authored-by: zwangsheng <2213335496@qq.com> Signed-off-by: Cheng Pan <chengpan@apache.org> |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| .env.development | ||
| .env.production | ||
| .eslintrc | ||
| .gitignore | ||
| .prettierrc | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| pnpm-lock.yaml | ||
| README.md | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| vite.config.ts | ||
| vitest.config.ts | ||
Kyuubi Web UI
Start Using
For the best experience, we recommend using node 16.x.x.
You can learn how to install the corresponding version from its official website.
Install Dependencies
npm install
Development Project
Notice:
Before you start the Web UI project, please make sure the Kyuubi server has been started.
Kyuubi Web UI will proxy the requests to Kyuubi server, with the default endpoint path tohttp://localhost:10099. Modify VITE_APP_DEV_WEB_URL in .env.development for customizing targeted endpoint path.
Why proxy to http://localhost:10099
Currently kyuubi server binds on http://0.0.0.0:10099 in case your are running kyuubi server in MacOS or Windows(If in linux, you should config kyuubi server kyuubi.frontend.rest.bind.host=0.0.0.0, or change VITE_APP_DEV_WEB_URL in .env.development).
npm run dev
Build Project
npm run build
Code Format
Usually after you modify the code, you need to perform code formatting operations to ensure that the code in the project is the same style.
npm run prettier
Recommend
If you want to save disk space and boost installation speed, we recommend using pnpm 8.x.x to instead of npm.
You can learn how to install the corresponding version from its official website.
# Install Dependencies
pnpm install
# Development Project
pnpm run dev
# Build Project
pnpm run build
# Code Format
pnpm run prettier