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", "clientgpversion",
"clientos", "clientos",
"gpcommon", "gpcommon",
"gpgui",
"gpservice", "gpservice",
"Immer", "Immer",
"jnlp", "jnlp",

View File

@ -1,8 +1,24 @@
## Development ## 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 ### Start the GUI
``` ```sh
cd gpgui cd gpgui
pnpm install pnpm install
pnpm tauri dev pnpm tauri dev