internal gencert working

This commit is contained in:
2025-02-11 22:45:07 -07:00
parent a98bc825f6
commit 0b928c171f
2 changed files with 21 additions and 20 deletions
+13 -16
View File
@@ -2,23 +2,20 @@
## Running Desktop
1. `cargo install dioxus-cli --version 0.6.3`
2. `dx build -p mumble-web2-gui --platform desktop`
2. `dx run -p mumble-web2-gui --platform desktop --release`
## Running Web
1. `cargo install dioxus-cli --version 0.6.3`
2. `cargo install cargo install wtransport --example gencert`
3. in the proxy directory:
1. `cp config.toml.example config.toml`
2. run `gencert` and copy the certificate hash into config.toml
3. `cargo run -p mumble-web2-proxy` in the background
2. `dx build -p mumble-web2-gui --platform web --release`
3. `cp config.toml.example config.toml`
4. `cargo run -p mumble-web2-proxy` in the background
5. connect to `localhost:8080`
## with `dx serve`
4. in the gui directory
1. `export 'MUMBLE_WEB2_GUI_CONFIG={"cert_hash": <CERTIFICATE HASH HERE>, "proxy_url": "https://localhost:4433"}'`
2. `dx serve -p mumble-web2-gui --platform web`
5. connect to `localhost:8080` (most common)
## with `mumble-web2-proxy` only
4. in the gui directory:
1. `dx build -p mumble-web2-gui --platform web`
5. connect to `localhost:4434` (most common)
## Running Web (with `dx serve`)
1. `cargo install dioxus-cli --version 0.6.3`
2. `cp config.toml.example config.toml`
3. `cargo run -p mumble-web2-proxy` in the background
4. `cargo install cargo install wtransport --example gencert`
5. `export 'MUMBLE_WEB2_GUI_CONFIG={"cert_hash": <CERTIFICATE HASH HERE>, "proxy_url": "https://localhost:4433"}'`
6. `dx serve -p mumble-web2-gui --platform web`
7. connect to `localhost:8080`