exiftool- for extracting exif datadcraw- for reading raw files (thumbnail generation)cjpeg- for encoding to jpeg (thumbnail generation)libmariadbclient- for connecting to mariadb
Set up MariaDB, and make a copy of example.env as .env, and fill in the fields
Then, install the Diesel CLI and run migrations to create the necessary tables and columns
cargo install diesel_cli --no-default-features --features mysql
diesel migration run
To regenerate the schema after running migrations,
diesel print-schema > src/db/schema.rs