Install the following tools
docker
(via os package manager)sqlx-cli
(via cargo)- Make sure
sqlx
is available in the path.
- Make sure
psql
(installed via postgres)
IDE Settings:
- Use
rustfmt
to format the code - Use
clippy
to check for code style errors
- Make sure docker is running
- Run one of the scripts/init_db scripts depending on the platform
- Run the tests with
cargo test
or the server withcargo run