update readme

This commit is contained in:
Adam 2024-10-08 21:59:48 -04:00
parent b4b60e31fe
commit 04b350d598

View file

@ -17,15 +17,13 @@ With auto-reload:
Then:
```sh
watch -i client -cx run
./test
```
or if you're lazy like me just run `./test`
Without auto-reload:
```sh
cargo run
cargo run -p server
```
### Client
@ -54,20 +52,30 @@ cargo build --release
---
- The server automatically serves the built client from `/dist` at `127.0.0.1:3030`. When building for release the client automatically points to doordesk
- The server automatically serves the built client from `/dist` at `127.0.0.1:3030`. When building for release the client automatically points to doordesk.
- Configure any custom clients to connect to `ws://127.0.0.1:3030/websocket` for local testing or `wss://cards.doordesk.net/websocket` to use my server
- Configure any custom clients to connect to `ws://127.0.0.1:3030/websocket` for local testing or `wss://cards.doordesk.net/websocket` to use my server.
## Tools:
There is a tool named socket_blaster used for stress testing the server.
Run
```sh
cargo run -p socket_blaster -- -h
```
to see available options.
Then
```sh
cargo run -p socket_blaster -- [COMMAND]
```
to run a command.
## TODO:
- prevent zombie users after browser crash