From 6d4e97235af2cd54dec8fb3bb33fd5932bc6ec1d Mon Sep 17 00:00:00 2001 From: Spencer Pogorzelski <34356756+Scoder12@users.noreply.github.com> Date: Tue, 9 Jan 2024 19:35:04 -0800 Subject: [PATCH] Update README.md --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8cf774a..6e6ac6f 100644 --- a/README.md +++ b/README.md @@ -3,9 +3,11 @@ ## Building ### Server -1. Place your certs in the source folder, public named `pem.pem` and private named `key.pem` + +1. Generate certs with `mkcert` and place the public certificate in `./server/src/pem.pem` and private certificate in `./server/src/key.pem` 2. Run `cargo r --bin wstcp-server`, optionally with `-r` flag for release ### Client + 1. Make sure you have the `wasm32-unknown-unknown` target installed, `wasm-bindgen` executable installed, and `bash`, `python3` packages (`python3` is used for `http.server` module) 2. Run `bash build.sh` to build and start a webserver