mascully_website/README.md
2025-07-27 00:53:52 +03:00

39 lines
921 B
Markdown

# Mascully Website
My personal website. Hosted at [mascully.com](https://mascully.com). The currently hosted version may not always exactly reflect the contents of this repo.
Built using [Leptos](https://leptos.dev/) with [Axum](https://github.com/tokio-rs/axum).
## Running
### Nix
Run directly with
```bash
nix develop -c cargo-leptos serve
```
Develop with
```bash
nix develop
cargo-leptos watch
```
I'm still working on getting the flake working, so for now you can't use `nix run`. I also haven't figured out how to bundle it as a standalone binary yet.
### Other systems
- Install Rust nightly.
- Install [Cargo Leptos](https://github.com/leptos-rs/cargo-leptos).
- `cargo-leptos serve`
## Code structure
- `crates/app`: The actual website.
- `crates/frontend`: Images, fonts, CSS.
- `crates/server`: A minimal Axum server for serving pages.
- `flake.nix`: This doesn't work; ignore it.
## License
MIT