details
This commit is contained in:
parent
c656da2970
commit
cc2ca6ea86
1 changed files with 3 additions and 3 deletions
|
@ -11,7 +11,7 @@ This started as a problem trying to play games with friends who are all on diffe
|
|||
With auto-reload:
|
||||
* [Install cargo-watch](https://github.com/watchexec/cargo-watch?tab=readme-ov-file#install)
|
||||
|
||||
Then
|
||||
Then:
|
||||
|
||||
```sh
|
||||
watch -i client -cx run
|
||||
|
@ -25,7 +25,7 @@ cargo run
|
|||
### Client
|
||||
* [Install Trunk](https://trunkrs.dev/#install)
|
||||
|
||||
Then
|
||||
Then:
|
||||
|
||||
```sh
|
||||
trunk serve --open
|
||||
|
@ -43,7 +43,7 @@ trunk build --release
|
|||
cargo build
|
||||
```
|
||||
|
||||
--
|
||||
----------
|
||||
* The server automatically serves the built client from `/dist` at `0.0.0.0:3030`
|
||||
|
||||
* Configure any custom clients to connect to `ws://localhost:3030/websocket`
|
||||
|
|
Loading…
Add table
Reference in a new issue