For the best experience, we recommend using node 16.x.x
. You can learn how to install the corresponding version from its official website.
npm install
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.
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
npm run build
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
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