This is an automated email from the ASF dual-hosted git repository. jiacai2050 pushed a commit to branch feat-meta in repository https://gitbox.apache.org/repos/asf/horaedb-docs.git
commit 1378036d5a4b569b960dd0c93d4d4a08255dff35 Author: jiacai2050 <[email protected]> AuthorDate: Tue Nov 5 16:30:28 2024 +0800 add horaemeta compile --- content/en/docs/dev/compile_run.md | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/content/en/docs/dev/compile_run.md b/content/en/docs/dev/compile_run.md index 449f571..0156af2 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,18 @@ 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]
