Files
mumble-web2/README.md
T
2024-11-11 17:14:53 -07:00

883 B

GUI Development

Running Desktop

  1. cargo install dioxus-cli --version 0.6.0-alpha.4
  2. 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

  1. 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
  2. connect to localhost:8080 (most common)

with mumble-web2-proxy only

  1. in the gui directory:
    1. dx build -p mumble-web2-gui --platform web
  2. connect to localhost:4434 (most common)