Toedi is a self-hosted fitness tracking and workout planning app.
See the documentation for more details.
docker compose -f docker-compose.yml up
rustup toolchain install nightly --allow-downgrade
rustup target add wasm32-unknown-unknown
cargo install cargo-leptos
docker compose -f docker-compose.dev.yml up &
export DATABASE_URL=postgres:https://toedi:toedi@localhost::5432/toedi
cargo leptos watch
This is needed to build when there is not database available, as sqlx does compile time checking against a database
cargo sqlx prepare -- --all-targets --all-features --release
cargo leptos build --release
Will generate your server binary in target/server/release and your site package in target/site