You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
msgid"The `doc/code_snippets` folder of a Tarantool documentation repository contains runnable code examples that show how to work with various Tarantool modules. Code from these examples is [referenced](#referencing-code-snippets) in corresponding documentation sections."
24
+
msgid"The `doc/code_snippets` folder of a Tarantool documentation repository contains runnable code examples that show how to work with Tarantool:"
25
25
msgstr""
26
26
27
27
#:../../doc/code_snippets/README.md:5
28
-
msgid"Prerequisites"
28
+
msgid"The [snippets](snippets) folder contains sample applications that demonstrate how to configure a Tarantool cluster."
29
+
msgstr""
30
+
31
+
#:../../doc/code_snippets/README.md:6
32
+
msgid"The [test](test) folder contains testable Lua examples that show how to work with various Tarantool modules."
29
33
msgstr""
30
34
31
-
#:../../doc/code_snippets/README.md:7
32
-
msgid"First, install the [tt CLI utility](https://www.tarantool.io/en/doc/latest/reference/tooling/tt_cli/). Then, go to the `doc/code_snippets` folder and install the following libraries:"
35
+
#:../../doc/code_snippets/README.md:8
36
+
msgid"Code from these examples is [referenced](#referencing-code-snippets) in corresponding documentation sections."
msgid"Note that the HTTP client samples (placed in `test/http_client`) use the `httpbin` service. You can run `httpbin` locally using Docker to stabilize test results:"
86
127
msgstr""
87
128
88
-
#:../../doc/code_snippets/README.md:45
129
+
#:../../doc/code_snippets/README.md:63
89
130
msgid"docker run -p 80:80 kennethreitz/httpbin\n"
90
131
""
91
132
msgstr""
92
133
93
-
#:../../doc/code_snippets/README.md:49
134
+
#:../../doc/code_snippets/README.md:67
94
135
msgid"In this case, you need to replace `https://httpbin.org` links with `http://127.0.0.1`."
95
136
msgstr""
96
137
97
-
#:../../doc/code_snippets/README.md:52
138
+
#:../../doc/code_snippets/README.md:70
98
139
msgid"Referencing code snippets"
99
140
msgstr""
100
141
101
-
#:../../doc/code_snippets/README.md:53
142
+
#:../../doc/code_snippets/README.md:71
102
143
msgid"To display a specific source file in a topic, use the `literalinclude` directive as follows:"
msgid"To run applications placed in [instances.enabled](instances.enabled), go to the `replication` directory in the terminal and execute the `tt start` command, for example:"
0 commit comments