we only need sqlite for our diesel_cli

This commit is contained in:
mtrx 2021-04-02 23:16:07 +02:00 committed by GitHub
parent 243bc6397b
commit 5c1c0de1b1
Signed by: GitHub
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,7 +11,7 @@ cd crablog/site
```
2. Install diesel and create a database
```bash
cargo install diesel_cli
cargo install diesel_cli --no-default-features --features "sqlite"
diesel setup --database-url ../content/db.sqlite3
diesel migration run --database-url ../content/db.sqlite3
```