make proxy part of the project structure
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
# GUI Development
|
||||
|
||||
## Running Desktop
|
||||
1. `dx build -p mumble-web2-gui --platform desktop`
|
||||
|
||||
## Running Web
|
||||
1. `cargo install dioxus-cli --version 0.6.0-alpha.4`
|
||||
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
|
||||
|
||||
## 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)
|
||||
Reference in New Issue
Block a user