1
0
mirror of https://github.com/actix/examples synced 2024-11-23 22:41:07 +01:00

Correct path

This commit is contained in:
Kelly Thomas Kline 2018-05-20 18:22:04 -07:00 committed by GitHub
parent 4d5e52940e
commit 8011d2d64d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,7 @@ Diesel's `Getting Started` guide using SQLite for Actix web
```bash
cargo install diesel_cli --no-default-features --features sqlite
cd actix-web/examples/diesel
cd examples/diesel
echo "DATABASE_URL=file:test.db" > .env
diesel migration run
```
@ -18,7 +18,7 @@ diesel migration run
```bash
# if ubuntu : sudo apt-get install libsqlite3-dev
# if fedora : sudo dnf install libsqlite3x-devel
cd actix-web/examples/diesel
cd examples/diesel
cargo run (or ``cargo watch -x run``)
# Started http server: 127.0.0.1:8080
```