docs: add taosKeeper and taosAdapter to README

This commit is contained in:
qevolg 2025-02-13 17:18:51 +08:00
parent 85063f5c0d
commit e056525c76
2 changed files with 20 additions and 0 deletions

View File

@ -69,6 +69,8 @@ TDengine 是一款开源、高性能、云原生的时序数据库 (Time-Series
TDengine 目前可以在 Linux、 Windows、macOS 等平台上安装和运行。任何 OS 的应用也可以选择 taosAdapter 的 RESTful 接口连接服务端 taosd。CPU 支持 X64/ARM64后续会支持 MIPS64、Alpha64、ARM32、RISC-V 等 CPU 架构。目前不支持使用交叉编译器构建。
如果你想要编译 taosAdapter 或者 taosKeeper需要安装 Go 1.18 及以上版本。
## 3.1 Linux系统
<details>
@ -153,6 +155,10 @@ cmake .. -DBUILD_TOOLS=true -DBUILD_CONTRIB=true
make
```
如果你想要编译 taosAdapter可以添加 `-DBUILD_HTTP=false` 选项。
如果你想要编译 taosKeeper可以添加 `--DBUILD_KEEPER=true` 选项。
可以使用Jemalloc作为内存分配器而不是使用glibc:
```bash
@ -180,6 +186,10 @@ mkdir debug && cd debug
cmake .. && cmake --build .
```
如果你想要编译 taosAdapter可以添加 `-DBUILD_HTTP=false` 选项。
如果你想要编译 taosKeeper可以添加 `--DBUILD_KEEPER=true` 选项。
</details>
## 4.3 Windows系统上构建

View File

@ -82,6 +82,8 @@ For contributing/building/testing TDengine Connectors, please check the followin
At the moment, TDengine server supports running on Linux/Windows/MacOS systems. Any application can also choose the RESTful interface provided by taosAdapter to connect the taosd service. TDengine supports X64/ARM64 CPU, and it will support MIPS64, Alpha64, ARM32, RISC-V and other CPU architectures in the future. Right now we don't support build with cross-compiling environment.
If you want to compile taosAdapter or taosKeeper, you need to install Go 1.18 or above.
## 3.1 On Linux
<details>
@ -168,6 +170,10 @@ cmake .. -DBUILD_TOOLS=true -DBUILD_CONTRIB=true
make
```
If you want to compile taosAdapter, you can add the `-DBUILD_HTTP=false` option.
If you want to compile taosKeeper, you can add the `--DBUILD_KEEPER=true` option.
You can use Jemalloc as memory allocator instead of glibc:
```bash
@ -196,6 +202,10 @@ mkdir debug && cd debug
cmake .. && cmake --build .
```
If you want to compile taosAdapter, you can add the `-DBUILD_HTTP=false` option.
If you want to compile taosKeeper, you can add the `--DBUILD_KEEPER=true` option.
</details>
## 4.3 Build on Windows