Skip to content

Commit

Permalink
README: update zenohd instructions to load REST plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
JEnoch committed Dec 6, 2024
1 parent b76cef9 commit dd62b75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ You can setup storages either at zenoh router startup via a configuration file,

### **Setup at runtime via `curl` commands on the admin space**

- Run the zenoh router, with write permissions to its admin space:
`zenohd --adminspace-permissions rw`
- Run the zenoh router, with write permissions to its admin space and with the REST plugin:
`zenohd --adminspace-permissions=rw --rest-http-port=8000`
- Add the "rocksdb" backend (the "zenoh_backend_rocksdb" library will be loaded):
`curl -X PUT -H 'content-type:application/json' -d '{}' http://localhost:8000/@/router/local/config/plugins/storage_manager/volumes/rocksdb`
- Add the "demo" storage using the "rocksdb" backend:
Expand Down

0 comments on commit dd62b75

Please sign in to comment.