Skip to content
Johannes Schriewer edited this page Mar 7, 2018 · 1 revision

You'll need rust nightly.

  1. Install rustup:
curl https://sh.rustup.rs -sSf > rustup.sh
sh rustup.sh
  1. Switch to rust nightly:
rustup install nightly
rustup default nightly
  1. Install diesel_cli (You need sqlite development headers installed)
cargo install diesel_cli --no-default-features --features "sqlite"
  1. Migrate the DB
diesel migration --database-url ./data/db.sqlite run
  1. Build
cargo build
Clone this wiki locally