Site for https://osvald.org
Written in Rust using the Yew framework which compiles to WebAssembly. This is of course totally overkill for a simple static site like this which could have just been done as 2 HTML files instead...
- Install Rust: https://www.rust-lang.org/tools/install
- Install WebAssembly target:
rustup target add wasm32-unknown-unknown
- Install Trunk:
cargo install trunk
- Run locally on port 8080:
trunk serve
(see results on http://localhost:8080)
- Build release files in
dist/
:trunk build --release
- Host the
dist
folder in any way you want.