📝 README.md: Add documentation for SHA256 note, binaryen install, and config section

- Added note about repository using SHA256 object format with Nix compatibility details.
- Added installation step for `binaryen` in non-Nix run instructions.
- Added new "Configuration" section explaining how to modify bind address and port.
This commit is contained in:
Markus Scully 2025-07-27 09:19:24 +03:00
parent 62fbf6d17c
commit bab8fe827a
Signed by: mascully
GPG key ID: 93CA5814B698101C

View file

@ -4,6 +4,8 @@ My personal website. Hosted at [mascully.com](https://mascully.com). The current
Built using [Leptos](https://leptos.dev/) with [Axum](https://github.com/tokio-rs/axum).
This repo uses the SHA256 object format so it may be incompatible with a lot of tools. See [here](https://github.com/NixOS/nix/issues/11561) for instructions on using this repo with Nix.
## Running
### Nix
@ -25,8 +27,13 @@ I'm still working on getting the flake working, so for now you can't use `nix ru
- Install Rust nightly.
- Install [Cargo Leptos](https://github.com/leptos-rs/cargo-leptos).
- Install [binaryen](https://github.com/WebAssembly/binaryen).
- `cargo-leptos serve`
## Configuration
The bind address and port can be modifed in the top-level `Cargo.toml` file under `workspace.metadata.leptos`.
## Code structure
- `crates/app`: The actual website.