jana_sessions_webpage/README.md

28 lines
650 B
Markdown
Raw Normal View History

2025-02-11 22:27:22 +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`).
2025-02-12 14:16:17 +01:00
For the build to work you'll need the `wasm32-unknown-unknown` target (`rustup target add wasm32-unknown-unknown`).
2025-02-11 22:27:22 +01:00
You can build the projekt with
```bash
trunk build --release
```
which will create the app in the `target/dist` folder.
Alternatively you can serve it locally with
```bash
2025-02-14 16:12:23 +01:00
trunk serve
2025-02-11 22:27:22 +01:00
```
## Deployment
Just use pythons webserver and point it to the dist folder
```bash
python3 -m http.server 8080 --directoy target/dist
```