diff --git a/basics/README.md b/basics/README.md index 72ed1e66..361562ec 100644 --- a/basics/README.md +++ b/basics/README.md @@ -5,7 +5,7 @@ ### server ```bash -cd actix-web/examples/basics +cd examples/basics cargo run # Started http server: 127.0.0.1:8080 ``` 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) diff --git a/json/README.md b/json/README.md index 167c3909..0fb8cf40 100644 --- a/json/README.md +++ b/json/README.md @@ -7,7 +7,7 @@ Json's `Getting Started` guide using json (serde-json or json-rust) for Actix we ### server ```bash -cd actix-web/examples/json +cd examples/json cargo run # Started http server: 127.0.0.1:8080 ``` diff --git a/juniper/README.md b/juniper/README.md index 2ac0eac4..9181ba0d 100644 --- a/juniper/README.md +++ b/juniper/README.md @@ -5,7 +5,7 @@ Juniper integration for Actix web ### server ```bash -cd actix-web/examples/juniper +cd examples/juniper cargo run (or ``cargo watch -x run``) # Started http server: 127.0.0.1:8080 ``` diff --git a/multipart/README.md b/multipart/README.md index 348d2868..0da2dbf8 100644 --- a/multipart/README.md +++ b/multipart/README.md @@ -7,7 +7,7 @@ Multipart's `Getting Started` guide for Actix web ### server ```bash -cd actix-web/examples/multipart +cd examples/multipart cargo run (or ``cargo watch -x run``) # Started http server: 127.0.0.1:8080 ``` diff --git a/state/README.md b/state/README.md index 127ed2a0..6f85b4e1 100644 --- a/state/README.md +++ b/state/README.md @@ -5,7 +5,7 @@ ### server ```bash -cd actix-web/examples/state +cd examples/state cargo run # Started http server: 127.0.0.1:8080 ``` diff --git a/template_tera/README.md b/template_tera/README.md index 35829599..9cc14f46 100644 --- a/template_tera/README.md +++ b/template_tera/README.md @@ -7,7 +7,7 @@ Minimal example of using the template [tera](https://github.com/Keats/tera) that ### server ```bash -cd actix-web/examples/template_tera +cd examples/template_tera cargo run (or ``cargo watch -x run``) # Started http server: 127.0.0.1:8080 ``` diff --git a/tls/README.md b/tls/README.md index 1bc9ba3b..3ca48a79 100644 --- a/tls/README.md +++ b/tls/README.md @@ -5,7 +5,7 @@ ### server ```bash -cd actix-web/examples/tls +cd examples/tls cargo run (or ``cargo watch -x run``) # Started http server: 127.0.0.1:8443 ``` diff --git a/websocket/README.md b/websocket/README.md index 8ffcba82..47043f18 100644 --- a/websocket/README.md +++ b/websocket/README.md @@ -7,7 +7,7 @@ Simple echo websocket server. ### server ```bash -cd actix-web/examples/websocket +cd examples/websocket cargo run # Started http server: 127.0.0.1:8080 ``` diff --git a/websocket/src/main.rs b/websocket/src/main.rs index 69857d58..c7bc58b6 100644 --- a/websocket/src/main.rs +++ b/websocket/src/main.rs @@ -1,6 +1,6 @@ //! Simple echo websocket server. //! Open `http://localhost:8080/ws/index.html` in browser -//! or [python console client](https://github.com/actix/actix-web/blob/master/examples/websocket-client.py) +//! or [python console client](https://github.com/actix/examples/blob/master/websocket/websocket-client.py) //! could be used for testing. #![allow(unused_variables)]