- Run postgres via docker-compose:
docker compose up -d
- Setup database with sqlx:
cargo install sqlx-cli
sqlx migrate run --database-url postgres://postgres:postgres@localhost:5432/postgres
- Compile tailwind:
npx tailwindcss -i ./input.css -o ./assets/tailwind.css
- Launch app with hot realod:
DATABASE_URL=postgres://postgres:postgres@localhost:5432/postgres dx serve