Skip to content

Commit

Permalink
chore(deps): update bee-ui, update README (#76)
Browse files Browse the repository at this point in the history
Ref: i-am-bee/bee-api/issues#56

Signed-off-by: Tomas Dvorak <[email protected]>
  • Loading branch information
Tomas2D authored Jan 16, 2025
1 parent aeb2d6d commit 0f3abc6
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,20 @@ curl -X POST \
```
You can then find edit the bee in the UI (assign tools, role, etc.)

### Update user's name

```shell
curl -X PUT \
"http://localhost:4000/v1/users" \
-H "Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJ0ZXN0IiwicHJlZmVycmVkX3VzZXJuYW1lIjoiVGVzdCBVc2VyIiwiZW1haWwiOiJ0ZXN0QGVtYWlsLmNvbSIsImlhdCI6MTUxNjIzOTAyMiwiaXNzIjoiaHR0cHM6Ly9sb2NhbGhvc3QiLCJhdWQiOiJiZWUtdGVzdCJ9.vwkGnl7lBbzJYk6BtoW3VoA3mnNJVI-nDQU8aK7zOH-rkf2pn5cn6CKwpq7enDInIXro8WtBLNZP8Nr8GQIZKahICuP3YrPRmzv7YIW8LuXKnx1hycg5OAtj0OtQi5FYwwCxTYW9pBF2it7XwQSBcW7yYsOrvgs7jVhThCOsavX0YiAROxZIhk1idZT4Pl3egfUI_dy9iBxcn7xocTnos-94wqJNt8oCVgB8ynj75yJFHJbiQ-9Tym_V3LcMHoEyv67Jzie8KugCgdpuF6EbQqcyfYJ83q5jJpR2LiuWMuGsNSbjjDY-f1vCSMo9L9-R8KFrDylT_BzLvRBswOzW7A" \
-H "Content-Type: application/json" \
-d '{
"name": "John Doe"
}'
```

*Note: the JWT token refers to a value of DUMMY_JWT_TOKEN env specified in docker-compose.yml file*

### Manual configuration

If the setup script is not working for you (e.g. you don't have bash installed), you can
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ services:
bee-ui:
depends_on:
bee-api: { condition: service_healthy }
image: icr.io/i-am-bee/bee-ui-local:0.0.22
image: icr.io/i-am-bee/bee-ui-local:0.0.23
env_file: [ .env ]
environment:
NEXTAUTH_URL: http://localhost:3000
Expand Down

0 comments on commit 0f3abc6

Please sign in to comment.