add config and bruno
This commit is contained in:
parent
8ceb698f03
commit
472c1b36a7
9 changed files with 708 additions and 7 deletions
16
README.md
16
README.md
|
|
@ -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": [] } }'
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue