Rocket & Diesel Blog Demo
- Using rustc 1.31.0-nightly (8c4ad4e9e 2018-10-04)
- postgres backend
- This is a test app for My Blog: lil bits
- Must have
diesel_cliinstalled. Directions can be found in the Diesel Getting Started Guide
diesel migration runto run all migrations on the postgres database
cargo run --bin seedto seed the database with fake data. See
src/seed.rsto setup default username/password for a login.
cargo run --bin main, which will start the app.
0.3.17doesn't seem to compile currently, so I reverted to
0.3.11to get it working. There happens to be a problem on Windows machines due to the ring dependency and spectre vulnerability
- I should make a CHANGELOG now that a few people have mentioned using this project as an example....