This is an automated email from the ASF dual-hosted git repository. jiacai2050 pushed a commit to branch sdk-dev in repository https://gitbox.apache.org/repos/asf/horaedb-docs.git
commit 5bf2f7fe7e8ae22bb2cee96a01ee70a15840eab1 Author: jiacai2050 <[email protected]> AuthorDate: Wed Jun 19 11:31:42 2024 +0800 feat: add sdk dev --- docs/src/en/SUMMARY.md | 1 + docs/src/en/dev/sdk_develop.md | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/docs/src/en/SUMMARY.md b/docs/src/en/SUMMARY.md index 81f6acb..28e1988 100644 --- a/docs/src/en/SUMMARY.md +++ b/docs/src/en/SUMMARY.md @@ -48,6 +48,7 @@ - [Supported Platform](dev/platform.md) - [Compile and Running](dev/compile_run.md) - [Profile](dev/profiling.md) +- [SDK Development](dev/sdk_develop.md) - [Conventional Commit](dev/conventional_commit.md) - [Style guide](dev/style_guide.md) - [Roadmap](dev/roadmap.md) diff --git a/docs/src/en/dev/sdk_develop.md b/docs/src/en/dev/sdk_develop.md new file mode 100644 index 0000000..c25acae --- /dev/null +++ b/docs/src/en/dev/sdk_develop.md @@ -0,0 +1,39 @@ +# Rust + +``` +git clone https://github.com/apache/horaedb-client-rs +cargo build +``` + +# Python + +The Python SDK rely on Rust SDK, so [cargo](https://doc.rust-lang.org/stable/cargo/getting-started/installation.html) is also required, then install build tool [maturin](https://github.com/PyO3/maturin) with + +``` +pip install maturin +``` + +Then we can build Python SDK with +```bash +git clone https://github.com/apache/horaedb-client-py + +maturin build +``` + +# Go + +```bash +git clone https://github.com/apache/horaedb-client-go + +go build ./... +``` + +# Java + +> Note: Java 1.8 is required + +```bash +git clone https://github.com/apache/horaedb-client-java + +mvn clean install -DskipTests=true -Dmaven.javadoc.skip=true -B -V +``` --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
