Skip to content

Commit

Permalink
chore: move example in cli
Browse files Browse the repository at this point in the history
Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>
  • Loading branch information
thomas-mauran committed May 2, 2024
1 parent 02cdbe5 commit 64893dc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ Go to the project directory:
cd cloudlet
```

Create a TOML config file or update the [existing one](./src/agent/examples/config.toml):
Create a TOML config file or update the [existing one](./src/cli/examples/config.toml):

```bash
cat << EOF > src/agent/examples/config.toml
cat << EOF > src/cli/examples/config.toml
workload-name = "fibonacci"
language = "rust"
action = "prepare-and-run"
Expand All @@ -63,7 +63,7 @@ address = "localhost"
port = 50051
[build]
source-code-path = "$(readlink -f ./src/agent/examples/main.rs)"
source-code-path = "$(readlink -f ./src/cli/examples/main.rs)"
release = true
EOF
```
Expand Down Expand Up @@ -95,7 +95,7 @@ cargo run --bin api
### Send the request using the CLI

```bash
cargo run --bin cli -- run --config-path src/agent/examples/config.toml
cargo run --bin cli -- run --config-path src/cli/examples/config.toml
```

> [!NOTE]
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 64893dc

Please sign in to comment.