1
0
mirror of https://github.com/actix/examples synced 2024-11-23 22:41:07 +01:00
This commit is contained in:
Rob Ede 2022-02-18 02:13:55 +00:00
parent b388c10aea
commit 357983d22c
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933
8 changed files with 8 additions and 8 deletions

View File

@ -61,7 +61,7 @@ jobs:
- name: run diesel migrations - name: run diesel migrations
run: | run: |
cargo install diesel_cli cargo install diesel_cli
cd database_interactions/diesel cd databases/diesel
diesel migration run diesel migration run
chmod a+rwx test.db chmod a+rwx test.db

View File

@ -21,4 +21,4 @@ MongoDB manual.
### Run the example ### Run the example
To execute the example code, run `cargo run` in the `database_interactions/mongodb` directory. To execute the example code, run `cargo run` in the `databases/mongodb` directory.

View File

@ -5,7 +5,7 @@ This project illustrates how to send multiple cache requests to Redis in bulk, a
## Start Server ## Start Server
```sh ```sh
cd database_interactions/redis cd databases/redis
cargo run cargo run
``` ```

View File

@ -5,7 +5,7 @@ This is an example of how to use Actix Web with the [Handlebars](https://crates.
## Usage ## Usage
```bash ```bash
cd template_engines/handlebars cd templating/handlebars
cargo run cargo run
``` ```

View File

@ -5,7 +5,7 @@ This is an example of how to use Actix Web with the [Sailfish](https://sailfish.
## Usage ## Usage
```bash ```bash
cd template_engines/sailfish cd templating/sailfish
cargo run cargo run
``` ```

View File

@ -7,7 +7,7 @@ Minimal example of using the template [tera](https://github.com/Keats/tera) that
### server ### server
```bash ```bash
cd template_engines/tera cd templating/tera
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
``` ```

View File

@ -7,7 +7,7 @@ See the documentation for the minimalist template engine [tiny_template](https:/
### Server ### Server
```bash ```bash
cd template_engines/tinytemplate cd templating/tinytemplate
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
``` ```

View File

@ -3,7 +3,7 @@
Minimal example of using template [yarte](https://github.com/botika/yarte) that displays a form. Minimal example of using template [yarte](https://github.com/botika/yarte) that displays a form.
```bash ```bash
cd template_engines/yarte cd templating/yarte
cargo test cargo test
cargo run cargo run
``` ```