update to 0.7.1 in readme & cleanup unused files

This commit is contained in:
2025-11-27 22:40:48 -07:00
parent 40bb8e18ef
commit 0e2704fad2
6 changed files with 3 additions and 80 deletions
+3 -3
View File
@@ -2,13 +2,13 @@
## Running Desktop
1. `cargo install dioxus-cli --version 0.6.3`
1. `cargo install dioxus-cli --version 0.7.1`
2. `dx run -p mumble-web2-gui --platform desktop --release`
## Running Web (development)
1. `cargo install dioxus-cli --version 0.6.3`
1. `cargo install dioxus-cli --version 0.7.1`
3. `dx serve -p mumble-web2-gui --platform web`
2. `cd docker && docker compose up`
4. connect to `https://localhost:64444`
@@ -16,7 +16,7 @@
## Running Web (with `proxy` only)
1. `cargo install dioxus-cli --version 0.6.3`
1. `cargo install dioxus-cli --version 0.7.1`
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
-27
View File
@@ -1,27 +0,0 @@
#!/bin/bash
set -e
# Install the Dioxus CLI
#cargo install dioxus-cli --version 0.7.1
# Build the Dioxus web app (assumes workspace subproject at ./gui)
cd gui
dx build --platform web --release
cd ..
# Build the backend (proxy package)
#cargo build --release -p proxy
#
## Prepare artifact directories
#mkdir -p artifacts
#
## Copy Dioxus webroot (usually at gui/dist)
#cp -r gui/dist artifacts/webroot
#
## Copy backend binary (proxy)
## Finds the built binary under target/release/
#PROXY_PATH=$(cargo metadata --format-version=1 --no-deps |
# jq -r '.packages[] | select(.name=="proxy") | .targets[] | select(.kind[] == "bin") | .name')
#cp "target/release/$PROXY_PATH" "artifacts/proxy"
#
#echo "Artifacts have been prepared at ./artifacts"
-20
View File
@@ -1,20 +0,0 @@
#!/bin/bash
set -e
mkdir -p ./cargo-tmp
mkdir -p ./docker-target
rm -rf ./docker-tmp
mkdir ./docker-tmp
rsync -av --exclude-from=.gitignore --exclude .git/ --exclude docker-tmp/ --exclude cargo-tmp/ --exclude docker-target/ ./ ./docker-tmp/
docker build -f ./docker/release-builder.Dockerfile -t mumbleweb2-builder:latest .
docker run -it --rm \
-v "$(pwd)/docker-tmp":/work \
-v "$(pwd)/docker-target":/work/target \
-v "$(pwd)/cargo-tmp/registry":/usr/local/cargo/registry \
-v "$(pwd)/cargo-tmp/git":/usr/local/cargo/git \
-w /work \
mumbleweb2-builder:latest /bin/bash ./bin/build-release.sh
-22
View File
@@ -1,22 +0,0 @@
FROM rust:1-bookworm AS base
# Install cargo-binstall for faster CLI installation
#RUN curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
RUN apt-get update && apt-get install -y screen
# Install dioxus-cli version 0.6.3 specifically
RUN cargo install dioxus-cli --version 0.6.3
# Set working directory
WORKDIR /app
# Add wasm32 target for web development
RUN rustup target add wasm32-unknown-unknown
# Set environment variables
ENV PATH="/root/.cargo/bin:$PATH"
# Default command (can be overridden in docker-compose)
CMD ["dx", "--help"]
-2
View File
@@ -48,8 +48,6 @@ services:
ports:
- "64738:64738/tcp"
- "64738:64738/udp"
environment:
- MUMBLE_CONFIG_WELCOMETEXT=Welcome to the Mumble server
network_mode: host
#volumes:
# caddy_data:
-6
View File
@@ -1,6 +0,0 @@
#FROM rust:latest
FROM rust:1.90.0-trixie
RUN curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
RUN cargo binstall dioxus-cli --version 0.6.3