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 66d2d83 add horaemeta compile guide (#154)
66d2d83 is described below
commit 66d2d832399f44719ffcd2507bcbceb39032c337
Author: Jiacai Liu <[email protected]>
AuthorDate: Tue Nov 5 16:52:36 2024 +0800
add horaemeta compile guide (#154)
---
content/en/docs/dev/compile_run.md | 22 ++++++++++++++++++++--
1 file changed, 20 insertions(+), 2 deletions(-)
diff --git a/content/en/docs/dev/compile_run.md
b/content/en/docs/dev/compile_run.md
index 449f571..b944f46 100644
--- a/content/en/docs/dev/compile_run.md
+++ b/content/en/docs/dev/compile_run.md
@@ -43,13 +43,15 @@ source $HOME/.cargo/env
# Compile and Run
-Compile HoraeDB by the following command:
+## horaedb-server
+
+Compile horaedb-server by the following command in project root directory:
```
cargo build
```
-Then you can run HoraeDB using the default configuration file provided in the
codebase.
+Then you can run it using the default configuration file provided in the
codebase.
```bash
./target/debug/horaedb-server --config ./docs/minimal.toml
@@ -77,3 +79,19 @@ To fix those, you should adjust ulimit as follows:
ulimit -n unlimited
ulimit -f unlimited
```
+
+## horaemeta-server
+
+Building horaemeta-server require Golang version >= 1.21, please [install
it](https://go.dev/doc/install) before compile.
+
+Then in `horaemeta` directory, execute:
+
+```bash
+go build -o bin/horaemeta-server ./cmd/horaemeta-server/main.go
+```
+
+Then you can run horaemeta-server like this:
+
+```bash
+bin/horaemeta-server
+```
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]