This is an automated email from the ASF dual-hosted git repository.
jiacai2050 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/horaedb-docs.git
The following commit(s) were added to refs/heads/main by this push:
new e9a8b41 feat: add horaemeta compile & run cn guide (#155)
e9a8b41 is described below
commit e9a8b4114aea0dd600980ecb1763baa2c3af99ae
Author: 鲍金日 <[email protected]>
AuthorDate: Wed Nov 6 11:36:48 2024 +0800
feat: add horaemeta compile & run cn guide (#155)
Co-authored-by: Jiacai Liu <[email protected]>
---
content/cn/docs/dev/compile_run.md | 22 ++++++++++++++++++++--
1 file changed, 20 insertions(+), 2 deletions(-)
diff --git a/content/cn/docs/dev/compile_run.md
b/content/cn/docs/dev/compile_run.md
index 13af08a..4e0e24f 100644
--- a/content/cn/docs/dev/compile_run.md
+++ b/content/cn/docs/dev/compile_run.md
@@ -44,13 +44,15 @@ source $HOME/.cargo/env
# 编译运行
-编译 HoraeDB 命令如下:
+## horaedb-server
+
+在项目根目录下,执行如下命令编译 horaedb-server:
```
cargo build
```
-然后可以使用特定的配置文件运行 HoraeDB。
+之后可以用下面命令运行它:
```bash
./target/debug/horaedb-server --config ./docs/minimal.toml
@@ -78,3 +80,19 @@ error: could not compile `syn` (lib)
ulimit -n unlimited
ulimit -f unlimited
```
+
+## horaemeta-server
+
+编译 horaemeta-server 前需要安装 [Golang](https://go.dev/doc/install),要求 Golang 版本 >=
1.21。
+
+在 `horaemeta` 目录下,执行:
+
+```bash
+go build -o bin/horaemeta-server ./cmd/horaemeta-server/main.go
+```
+
+可以使用如下命令运行它:
+
+```bash
+bin/horaemeta-server
+```
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]