doc: update the dev doc

This commit is contained in:
Kevin Yue 2023-06-25 01:26:25 +08:00
parent 15e798c1e7
commit e5fd2ba280
2 changed files with 18 additions and 1 deletions

View File

@ -6,6 +6,7 @@
"clientgpversion",
"clientos",
"gpcommon",
"gpgui",
"gpservice",
"Immer",
"jnlp",

View File

@ -1,8 +1,24 @@
## Development
### Build the service
```sh
# Build the client first
cargo build -p gpclient
# Build the service
cargo build -p gpservice
```
### Start the service
```sh
sudo ./target/debug/gpservice
```
### Start the GUI
```
```sh
cd gpgui
pnpm install
pnpm tauri dev