Files
mumble-web2/README.md
T

1.1 KiB

GUI Development

Running Desktop

  1. cargo install dioxus-cli --version 0.6.3
  2. dx run -p mumble-web2-gui --platform desktop --release

Running Web

  1. cargo install dioxus-cli --version 0.6.3
  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

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

Running the dev stack with a docker based proxy

  1. cd docker && sudo docker compose up -d
  2. MUMBLE_WEB2_GUI_CONFIG_URL="https://localhost:64444/config" dx serve -p mumble-web2-gui --platform web
  3. connect to https://localhost:64444
  4. fill in the proxy url as https://127.0.0.1:4433/proxy (this should autofill but is currently broken)