Skip to content

Commit

Permalink
Update path of core/Cargo.toml in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
shpun817 committed Sep 10, 2022
1 parent e66f40b commit 3c79b01
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion examples/actix3_example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
1. Modify the `DATABASE_URL` var in `.env` to point to your chosen database

1. Turn on the appropriate database feature for your chosen db in `Cargo.toml` (the `"sqlx-mysql",` line)
1. Turn on the appropriate database feature for your chosen db in `core/Cargo.toml` (the `"sqlx-mysql",` line)

1. Execute `cargo run` to start the server

Expand Down
2 changes: 1 addition & 1 deletion examples/actix_example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

1. Modify the `DATABASE_URL` var in `.env` to point to your chosen database

1. Turn on the appropriate database feature for your chosen db in `Cargo.toml` (the `"sqlx-mysql",` line)
1. Turn on the appropriate database feature for your chosen db in `core/Cargo.toml` (the `"sqlx-mysql",` line)

1. Execute `cargo run` to start the server

Expand Down
2 changes: 1 addition & 1 deletion examples/axum_example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

1. Modify the `DATABASE_URL` var in `.env` to point to your chosen database

1. Turn on the appropriate database feature for your chosen db in `Cargo.toml` (the `"sqlx-postgres",` line)
1. Turn on the appropriate database feature for your chosen db in `core/Cargo.toml` (the `"sqlx-postgres",` line)

1. Execute `cargo run` to start the server

Expand Down
2 changes: 1 addition & 1 deletion examples/graphql_example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

1. Modify the `DATABASE_URL` var in `.env` to point to your chosen database

1. Turn on the appropriate database feature for your chosen db in `Cargo.toml` (the `"sqlx-sqlite",` line)
1. Turn on the appropriate database feature for your chosen db in `core/Cargo.toml` (the `"sqlx-sqlite",` line)

1. Execute `cargo run` to start the server

Expand Down
10 changes: 5 additions & 5 deletions examples/jsonrpsee_example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

1. Modify the `DATABASE_URL` var in `.env` to point to your chosen database

1. Turn on the appropriate database feature for your chosen db in `Cargo.toml` (the `"sqlx-sqlite",` line)
1. Turn on the appropriate database feature for your chosen db in `core/Cargo.toml` (the `"sqlx-sqlite",` line)

1. Execute `cargo run` to start the server

2. Send jsonrpc request to server
1. Send jsonrpc request to server

```shell
#insert
Expand All @@ -20,7 +20,7 @@ curl --location --request POST 'http://127.0.0.1:8000' \
}
], "id": 2}'

#list
#list
curl --location --request POST 'http://127.0.0.1:8000' \
--header 'Content-Type: application/json' \
--data-raw '{
Expand All @@ -33,7 +33,7 @@ curl --location --request POST 'http://127.0.0.1:8000' \
"id": 2
}'

#delete
#delete
curl --location --request POST 'http://127.0.0.1:8000' \
--header 'Content-Type: application/json' \
--data-raw '{
Expand Down Expand Up @@ -61,4 +61,4 @@ curl --location --request POST 'http://127.0.0.1:8000' \
"id": 2
}'

```
```
2 changes: 1 addition & 1 deletion examples/poem_example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

1. Modify the `DATABASE_URL` var in `.env` to point to your chosen database

1. Turn on the appropriate database feature for your chosen db in `Cargo.toml` (the `"sqlx-sqlite",` line)
1. Turn on the appropriate database feature for your chosen db in `core/Cargo.toml` (the `"sqlx-sqlite",` line)

1. Execute `cargo run` to start the server

Expand Down
2 changes: 1 addition & 1 deletion examples/salvo_example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

1. Modify the `DATABASE_URL` var in `.env` to point to your chosen database

1. Turn on the appropriate database feature for your chosen db in `Cargo.toml` (the `"sqlx-sqlite",` line)
1. Turn on the appropriate database feature for your chosen db in `core/Cargo.toml` (the `"sqlx-sqlite",` line)

1. Execute `cargo run` to start the server

Expand Down

0 comments on commit 3c79b01

Please sign in to comment.