Skip to content

fubuki4649/suisai-server

Repository files navigation

水彩 suisai-server

Backend server for suisai

GPLv3

Dependencies

  • exiftool - for extracting exif data
  • dcraw - for reading raw files (thumbnail generation)
  • cjpeg - for encoding to jpeg (thumbnail generation)
  • libmariadbclient - for connecting to mariadb

Setup

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

Development

To regenerate the schema after running migrations,

diesel print-schema > src/db/schema.rs

About

Photography workflow server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages