node.js >= 16.0.0
https://kvrocks-web.apifox.cn/
npm install -g pnpm
pnpm install
pnpm run builddocker build -t kvrocks-web .Change the value of TARGET_API_ADDRESS to the API address of kvrocks controller server.
docker run -d -p 19379:19379 --name kvrocks-web -e TARGET_API_ADDRESS=http://127.0.0.1:9379 kvrocks-webEdit .env.development file, and change the value of VITE_API_URL to the API address of the development environment.
# kvrocks controller server address
VITE_API_URL= http://localhost:9379pnpm run devLint with ESLint
# Type check
pnpm typecheck
# Code specification verification
pnpm lint
# Repair during verification
pnpm lint:fix