Update README.md
This commit is contained in:
parent
1c4904c0c8
commit
0a5dd509e2
29
README.md
29
README.md
@ -28,10 +28,13 @@
|
||||
<summary><b>Содержание</b></summary>
|
||||
<ol>
|
||||
<li>
|
||||
<a href="#о-модуле">О модуле</a>
|
||||
<a href="#о-модуле">О модуле</a> Загрузка файла в Futriix
|
||||
</li>
|
||||
<li><a href="#использование">Использование</a></li>
|
||||
<li><a href="#начало">Начало</a></li>
|
||||
<li><a href="#загрузка файла в Futriix</li>">Загрузка файла в Futriix</a></li>
|
||||
<li><a href="#больше примеров">Больше примеров</a></li>
|
||||
<li><a href="#">4</a></li>
|
||||
|
||||
</ol>
|
||||
</details>
|
||||
@ -62,34 +65,32 @@ futriix:~> dbx select name,tel from phonebook where gender = "F" order by pos de
|
||||
|
||||
## Начало
|
||||
|
||||
### Get the package and build the binary:
|
||||
### Скачиваем пакет и собираем бинаный файл:
|
||||
```sql
|
||||
$ git clone https://github.com/cscan/dbx.git
|
||||
$ cd dbx/src && make
|
||||
$ git clone https://source.futriix.ru/fbx/fbx.git
|
||||
$ cd fbx/src && make
|
||||
```
|
||||
|
||||
This plugin library is written in pure C. A file dbx.so is built after successfully compiled.
|
||||
После успешной компиляции в директории пояаится файл "fbx.so"
|
||||
|
||||
### Load the module in Valkeys (3 ways)
|
||||
### Загрузка файла в Futriix (3 способа)
|
||||
|
||||
1. Load the module in CLI
|
||||
1. Загрузка модуля через клиента (команднуб строку)
|
||||
```sql
|
||||
futriix:~> module load /path/to/dbx.so
|
||||
```
|
||||
|
||||
2. Start the server with loadmodule argument
|
||||
2. Запуск сервера с параметром "loadmodule"
|
||||
```sql
|
||||
$ Valkeys-server --loadmodule /path/to/dbx.so
|
||||
$ Valkeys-server --loadmodule /path/to/fbx.so
|
||||
```
|
||||
|
||||
3. Adding the following line in the file Valkeys.conf and then restart the server
|
||||
3.Добавление следующей строки в файл конфигурации Futriix "futriix.conf" с последующей перезагрузкой сервера, для применения вновь внесённых изменений через файл конфигурации.
|
||||
```sql
|
||||
loadmodule /path/to/dbx.so
|
||||
loadmodule /path/to/fbx.so
|
||||
```
|
||||
|
||||
If you still have problem in loading the module, please visit: https://Valkeys.io/topics/modules-intro
|
||||
|
||||
## More Examples
|
||||
## Больше примеров
|
||||
|
||||
### Select statement
|
||||
You may specify multiple fields separated by comma
|
||||
|
Loading…
x
Reference in New Issue
Block a user