Skip to content

Commit 8671139

Browse files
committed
basic_example_v1: move how-to-run.txt into README.md with syntax updates
1 parent ce8812e commit 8671139

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

examples/basic_example_v1/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@ Running this sample with the managed YDB instance in Yandex Cloud
22
---
33

44
(0) Install the yc command line tool
5+
56
https://cloud.yandex.ru/docs/cli/operations/install-cli
67

78
(1) Create the service account using the YC Web Console, and assign it the ydb.editor role.
9+
810
Alternatively use the following shell snippet:
911

1012
```bash
@@ -20,6 +22,7 @@ yc resource-manager folder add-access-binding $YC_FOLDER --role ydb.editor --sub
2022
```
2123

2224
(2) Generate the service account key to be used for authentication.
25+
2326
Note: unfortunately, right now YC Web Console does not offer a way to generate the SA key
2427
with its Web interface.
2528

@@ -28,6 +31,7 @@ yc iam key create --service-account-name $SA_NAME --output $HOME/key-ydb-sa-0.js
2831
```
2932

3033
(3) Obtain the endpoint and database path from the Web Console.
34+
3135
Alternatively, use the following command to grab the required data in the shell:
3236

3337
```bash

0 commit comments

Comments
 (0)