- Rust
- Postgres
- Create database user with
createuser <user>
- Create database with
createdb -O <user> <dbname>
- Create environmental variable
DATABASE_URL
to bepostgres://<user>@localhost/<dbname>
and make sure it is in your session - Run database migrations with
sqlx-cli
or the binarysqlx migrate run
cargo run --bin migrate