Update README with docker dev workflow
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
# 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`
|
||||
@@ -12,6 +14,7 @@
|
||||
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
|
||||
@@ -19,3 +22,10 @@
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user