Skip to content
Rocket & Diesel Blog
Branch: master
Clone or download
Latest commit 2f37cb3 Oct 5, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets/stylesheets
migrations
src Update to working dependencies Oct 5, 2018
templates
.gitignore Initial commit. DB Setup, Confirm templating Jul 12, 2017
Cargo.lock update readme Oct 5, 2018
Cargo.toml
LICENSE
README.md update readme Oct 5, 2018

README.md

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

Setup

  • Must have diesel_cli installed. Directions can be found in the Diesel Getting Started Guide
  • Run diesel migration run to run all migrations on the postgres database
  • Run cargo run --bin seed to seed the database with fake data. See src/seed.rs to setup default username/password for a login.
  • Run cargo run --bin main, which will start the app.

Notes (2018-10-05)

  • Rocket 0.3.17 doesn't seem to compile currently, so I reverted to 0.3.11 to 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....
You can’t perform that action at this time.