From 8011d2d64d1d1a92614a41138309b00346bebfc3 Mon Sep 17 00:00:00 2001 From: Kelly Thomas Kline Date: Sun, 20 May 2018 18:22:04 -0700 Subject: [PATCH] Correct path --- diesel/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/diesel/README.md b/diesel/README.md index 922ba1e3..a989377e 100644 --- a/diesel/README.md +++ b/diesel/README.md @@ -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 ``` @@ -40,4 +40,4 @@ sqlite> select * from users; ## Postgresql -You will also find another complete example of diesel+postgresql on [https://github.com/TechEmpower/FrameworkBenchmarks/tree/master/frameworks/Rust/actix](https://github.com/TechEmpower/FrameworkBenchmarks/tree/master/frameworks/Rust/actix) \ No newline at end of file +You will also find another complete example of diesel+postgresql on [https://github.com/TechEmpower/FrameworkBenchmarks/tree/master/frameworks/Rust/actix](https://github.com/TechEmpower/FrameworkBenchmarks/tree/master/frameworks/Rust/actix)