jana_sessions_webpage/leptos_webpage
2025-02-20 10:55:18 +01:00
..
src Reformat project 2025-02-20 10:55:18 +01:00
Cargo.toml Reformat project 2025-02-20 10:55:18 +01:00
index.html Reformat project 2025-02-20 10:55:18 +01:00
leptosfmt.sh Migrate project to workspace 2025-02-16 17:47:33 +01:00
README.md Reformat project 2025-02-20 10:55:18 +01:00
styles.css Reformat project 2025-02-20 10:55:18 +01:00
Trunk.toml Migrate project to workspace 2025-02-16 17:47:33 +01:00

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