blogdor/README.md

10 lines
413 B
Markdown

# Dev Setup
This project uses [statically-verified queries](https://docs.rs/sqlx/latest/sqlx/macro.query.html),
which require the presence of a database with the right schema.
- Install the SQLx CLI: `cargo install sqlx-cli`
- Create the DB: `sqlx db create` -- this will create a sqlite DB in the current directory called
`blogdor.db`
- Run the migrations: `sqlx migrate run`
- Live happily ever after.