Files
NanoKVM-USB-MIRROR/browser/README.md
2026-01-13 16:47:31 +08:00

32 lines
694 B
Markdown

# NanoKVM-USB Browser
This is the NanoKVM-USB browser version project.
Online website: [usbkvm.sipeed.com](https://usbkvm.sipeed.com).
## Development
```shell
cd browser
pnpm install
pnpm dev
```
## Deployment
1. Execute `pnpm build` to build the project.
2. Execute `pnpm install -g http-server` to install http-server.
3. Execute `cd dist` to change working directory to `dist/` .
4. Execute `http-server -p 8080 -a localhost` to run the service.
5. Open the Chrome browser and visit `http://localhost:8080`.
### Deploy in Docker
```shell
git clone https://github.com/sipeed/NanoKVM-USB.git
cd NanoKVM-USB
docker-compose up -d
```
Then visit `http://localhost:9000` in your browser.