-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun.sh
More file actions
executable file
·24 lines (18 loc) · 752 Bytes
/
run.sh
File metadata and controls
executable file
·24 lines (18 loc) · 752 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/bash
echo "Checking for Dioxus CLI (dx)..."
if ! command -v dx &> /dev/null; then
echo "Dioxus CLI not found. Setting up Rust toolchain and dependencies..."
echo "Installing Rust stable toolchain..."
rustup toolchain install stable
echo "Adding wasm32-unknown-unknown target..."
rustup target add wasm32-unknown-unknown
echo "Installing cargo-binstall..."
cargo install cargo-binstall
echo "Installing dioxus-cli using cargo-binstall..."
cargo binstall dioxus-cli --no-confirm
echo "Dioxus CLI installed successfully."
else
echo "Dioxus CLI is already installed."
fi
echo "Starting Queues development server..."
dx serve --platform web --addr 0.0.0.0 --port 8082 --fullstack