Warning: current build has hardcoded Chat Endpoint, thus, it would be accessible to you only if you are connected to my VPN network
Issue
- Install Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | s
- Install toolchain and WASM32 for web development
rustup toolchain install stable
rustup target add wasm32-unknown-unknown
- Install cargo binstall
cargo install cargo-binstall
- Install Dioxus
cargo binstall dioxus-cli
- Clone rust-chat
git clone https://github.com/valaises/rust-chat.git
cd rust-chat
- Serve project for web
dx serve --platform web --package core --port 8008 --open
After project is compiled and launched http://localhost:8008 should open in your browser automatically
Please use icons from Tabler
Place icons at crates/core/assets/icons/*.svg
Example Usage:
const ICON_LAYOUT_SIDEBAR: Asset = asset!("assets/icons/layout-sidebar.svg");