| .. | ||
| src | ||
| Cargo.toml | ||
| index.html | ||
| leptosfmt.sh | ||
| README.md | ||
| styles.css | ||
| Trunk.toml | ||
Jana Sessions Webpage
The webpage for Jana-Sessions (unofficial name), fully written in Rust.
Building
The project currently uses leptos, so you'll want to install trunk (cargo install trunk).
For the build to work you'll need the wasm32-unknown-unknown target (rustup target add wasm32-unknown-unknown).
You can build the projekt with
trunk build --release
which will create the app in the target/dist folder.
Alternatively you can serve it locally with
trunk serve
To also access the local hosted page from other devices, use
trunk serve -a 0.0.0.0
Deployment
Just use pythons webserver and point it to the dist folder
python3 -m http.server 8080 --directoy target/dist