mirror of
https://github.com/MercuryWorkshop/epoxy-tls.git
synced 2025-05-12 14:00:01 -04:00
Update README.md
This commit is contained in:
parent
9083de531e
commit
6d4e97235a
1 changed files with 3 additions and 1 deletions
|
@ -3,9 +3,11 @@
|
||||||
## Building
|
## Building
|
||||||
|
|
||||||
### Server
|
### 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
|
2. Run `cargo r --bin wstcp-server`, optionally with `-r` flag for release
|
||||||
|
|
||||||
### Client
|
### 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)
|
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
|
2. Run `bash build.sh` to build and start a webserver
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue