mirror of
https://github.com/actix/examples
synced 2025-02-17 15:23:31 +01:00
Correct path
This commit is contained in:
parent
4d5e52940e
commit
8011d2d64d
@ -8,7 +8,7 @@ Diesel's `Getting Started` guide using SQLite for Actix web
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
cargo install diesel_cli --no-default-features --features sqlite
|
cargo install diesel_cli --no-default-features --features sqlite
|
||||||
cd actix-web/examples/diesel
|
cd examples/diesel
|
||||||
echo "DATABASE_URL=file:test.db" > .env
|
echo "DATABASE_URL=file:test.db" > .env
|
||||||
diesel migration run
|
diesel migration run
|
||||||
```
|
```
|
||||||
@ -18,7 +18,7 @@ diesel migration run
|
|||||||
```bash
|
```bash
|
||||||
# if ubuntu : sudo apt-get install libsqlite3-dev
|
# if ubuntu : sudo apt-get install libsqlite3-dev
|
||||||
# if fedora : sudo dnf install libsqlite3x-devel
|
# if fedora : sudo dnf install libsqlite3x-devel
|
||||||
cd actix-web/examples/diesel
|
cd examples/diesel
|
||||||
cargo run (or ``cargo watch -x run``)
|
cargo run (or ``cargo watch -x run``)
|
||||||
# Started http server: 127.0.0.1:8080
|
# Started http server: 127.0.0.1:8080
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user