Skip to content

Commit

Permalink
docs: add documentation on how to start manager and proplet
Browse files Browse the repository at this point in the history
Signed-off-by: Rodney Osodo <socials@rodneyosodo.com>
  • Loading branch information
rodneyosodo committed Dec 17, 2024
1 parent 593cda8 commit 7fae2d1
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions test.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,25 @@ Publish alive message to the manager channel. This updates the proplet.
```bash
mosquitto_pub -u $PROPLET_THING_ID -P $PROPLET_THING_KEY -I propeller -t channels/$MANAGER_CHANNEL_ID/messages/control/proplet/alive -h localhost -m "{\"proplet_id\": \"$PROPLET_THING_ID\"}"
```

To start the manager, run the following command

```bash
export MANAGER_THING_ID=""
export MANAGER_THING_KEY=""
export PRMANAGER_CHANNEL_ID=""
export PROPLET_THING_ID=""
export PROPLET_THING_KEY=""
propeller-manager
```

To start the proplet, run the following command

```bash
export MANAGER_THING_ID=""
export MANAGER_THING_KEY=""
export PROPLET_CHANNEL_ID=""
export PROPLET_THING_ID=""
export PROPLET_THING_KEY=""
propeller-proplet
```

0 comments on commit 7fae2d1

Please sign in to comment.