Skip to content

Commit 6191a6f

Browse files
HTTP API sample: update readme (#4286)
1 parent fb2dd55 commit 6191a6f

File tree

1 file changed

+8
-2
lines changed
  • doc/code_snippets/snippets/config/instances.enabled/application_role_http_api

1 file changed

+8
-2
lines changed

doc/code_snippets/snippets/config/instances.enabled/application_role_http_api/README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,15 @@ A sample application showing how to implement a custom `http-api` role.
44

55
## Running
66

7-
To start an application, execute the following command in the [config](../../../config) directory:
7+
Before starting the application, install the `http` module by executing the `tt rocks install` command in the [config](../../../config) directory:
88

9-
```console
9+
```shell
10+
$ tt rocks install http
11+
```
12+
13+
Then, start the application:
14+
15+
```shell
1016
$ tt start application_role_http_api
1117
```
1218

0 commit comments

Comments
 (0)