When I try to start the application per the README,
it fails due to a missing DATABASE_URL config. That's not a surprise, since I haven't configured the database. ;-) What is a surprise is that the README doesn't mention how to set up a db.
$ RUST_LOG=info cargo run
Running `target/debug/dotdotvote`
thread 'main' panicked at src/main.rs:577:54:
DATABASE_URL must be set: NotPresent
Upon further inspection, it looks like there might be seed data (sqlx-data.json), and that the db should be set up by sqlx. I've no experience with sqlx, so that's as far as I am going for now.
When I try to start the application per the README,
it fails due to a missing
DATABASE_URL
config. That's not a surprise, since I haven't configured the database. ;-) What is a surprise is that the README doesn't mention how to set up a db.