|
|
@ -2,15 +2,15 @@ |
|
|
|
|
|
|
|
The example creates a Vagrant machine configured with TORch Agent |
|
|
|
|
|
|
|
## Instructions to Run |
|
|
|
## Running the Example |
|
|
|
|
|
|
|
### Install dependencies |
|
|
|
#### Install dependencies |
|
|
|
|
|
|
|
* `docker` |
|
|
|
* `mosquitto_sub` |
|
|
|
* `apt install mosquitto-clients` |
|
|
|
|
|
|
|
### Run the Broker |
|
|
|
#### Run the Broker |
|
|
|
|
|
|
|
Add the following line to your `/etc/hosts` file: |
|
|
|
|
|
|
@ -25,7 +25,7 @@ cd example |
|
|
|
./run-broker.sh |
|
|
|
``` |
|
|
|
|
|
|
|
### Run the Subscriber |
|
|
|
#### Run the Subscriber |
|
|
|
|
|
|
|
In a separate terminal window, run the subscriber: |
|
|
|
|
|
|
@ -34,7 +34,7 @@ cd example |
|
|
|
./run-subscriber.sh |
|
|
|
``` |
|
|
|
|
|
|
|
### Run TORch Agent in Vagrant |
|
|
|
#### Run TORch Agent in Vagrant |
|
|
|
|
|
|
|
Run the Vagrant box in a third terminal window: |
|
|
|
|
|
|
|