irongit

axum + Astro, shipped as one binary. Static pages served from disk in dev, embedded in the executable in release.

astrum/build.sh
13 lines403 BBourne Again Shell (bash)
1#!/bin/sh
2# Production build. The frontend is rebuilt without PUBLIC_HOT_RELOAD first:
3# dev.sh's builds set it, and whatever is in frontend/dist at compile time is
4# what gets embedded, reload script and all.
5set -e
6
7cd "$(dirname "$0")"
8
9(cd frontend && bun install --frozen-lockfile && bun run build)
10cd backend
11cargo build --release --no-default-features
12
13echo "built backend/target/release/astrum"