This is a simple music quiz.
To run, build (as this uses sqlx, you'll need to provide a i ran DATABASE_URL
cargo sqlx prepare
so this is no longer true) and then execute with two arguments:
-
the first argument should be a path to a config file that looks like this:
database_url = "postgres://localhost:12345/music_quiz" cache_duration = "1d" bind_address = "0.0.0.0:8080"
-
the second argument should be either
migrate
orrun
.migrate
will run the migration scripts on the database atdatabase_url
, whilerun
will run the server. have fun.
also this only works with postgres
also also the executable will need to be in the same directory as static
This work is licensed under GPLv3, except the fonts, which are licensed under their respective licenses.