No description
- Increased top and bottom padding on `.project-text p` elements to `0.5rem` for better spacing |
||
---|---|---|
.cargo | ||
crates | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
flake.lock | ||
flake.nix | ||
LICENSE | ||
README.md | ||
rust-analyzer.toml | ||
rustfmt.toml |
Mascully Website
My personal website. Hosted at mascully.com. The currently hosted version may not always exactly reflect the contents of this repo.
Running
Nix
Run directly with
nix develop -c cargo-leptos serve
Develop with
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.
- Install 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.crates/frontend
: Images, fonts, CSS.crates/server
: A minimal Axum server for serving pages.flake.nix
: This doesn't work; ignore it.Cargo.toml
: Includes metadata for configuring Leptos.
License
MIT