add config and bruno

This commit is contained in:
Travis Shears 2025-09-30 19:40:21 +02:00
parent 8ceb698f03
commit 472c1b36a7
9 changed files with 708 additions and 7 deletions

View file

@ -33,3 +33,19 @@ Select from list then delete.
### Edit gemlog entry
Select from list then edit.
## Creating db
This project is backed by a nosql database, couchdb.
[docs on couchbase permissions and users](https://docs.couchdb.org/en/stable/intro/security.html#users-documents)
Here is how to create the db and give user gemlog-cli access:
```shell
$ curl -X PUT http://admin:xxxxxxxxxxxxxxxxxxxxxxxxxxx@eisenhorn:5023/gemlog
$ curl -X PUT http://admin:xxxxxxxxxxxxxxxxxxxxxxxxxxx@eisenhorn:5023/gemlog/_security \
-H "Content-Type: application/json" \
-d '{"admins": { "names": [], "roles": [] }, "members": { "names": ["gemlog-cli"], "roles": [] } }'
```