From b4e1fbdb809e983c1053d0c5fe7b9ce60d4e533a Mon Sep 17 00:00:00 2001 From: josh-wong Date: Mon, 7 Jul 2025 08:23:35 +0000 Subject: [PATCH] AUTO: Sync ScalarDB docs in English to docs site repo --- ...-guide-for-scalardb-cluster-with-java-api.mdx | 16 ++++++++++++++-- versioned_docs/version-3.14/schema-loader.mdx | 2 +- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/versioned_docs/version-3.14/scalardb-cluster/developer-guide-for-scalardb-cluster-with-java-api.mdx b/versioned_docs/version-3.14/scalardb-cluster/developer-guide-for-scalardb-cluster-with-java-api.mdx index a275a640..d83a3e9d 100644 --- a/versioned_docs/version-3.14/scalardb-cluster/developer-guide-for-scalardb-cluster-with-java-api.mdx +++ b/versioned_docs/version-3.14/scalardb-cluster/developer-guide-for-scalardb-cluster-with-java-api.mdx @@ -125,7 +125,13 @@ You can download the Schema Loader for Cluster from [ScalarDB Releases](https:// After downloading the JAR file, you can run Schema Loader for Cluster with the following command: ```console -java -jar scalardb-cluster-schema-loader-3.14.3-all.jar --config -f --coordinator +java -jar scalardb-cluster-schema-loader-3.14.3-all.jar --config --schema-file --coordinator +``` + +You can also pull the Docker image from the [Scalar container registry](https://github.com/orgs/scalar-labs/packages/container/package/scalardb-cluster-schema-loader) by running the following command, replacing the contents in the angle brackets as described: + +```console +docker run --rm -v :/scalardb.properties -v :/schema.json ghcr.io/scalar-labs/scalardb-cluster-schema-loader:3.14.3 --config /scalardb.properties --schema-file /schema.json --coordinator ``` ## ScalarDB Cluster SQL @@ -265,7 +271,13 @@ Like other SQL databases, ScalarDB SQL also provides a CLI tool where you can is You can download the SQL CLI for Cluster from [ScalarDB Releases](https://github.com/scalar-labs/scalardb/releases/tag/v3.14.3). After downloading the JAR file, you can run the SQL CLI with the following command: ```console -java -jar scalardb-cluster-sql-cli-3.14.3-all.jar --config +java -jar scalardb-cluster-sql-cli-3.14.3-all.jar --config +``` + +You can also pull the Docker image from the [Scalar container registry](https://github.com/orgs/scalar-labs/packages/container/package/scalardb-cluster-sql-cli) by running the following command, replacing the contents in the angle brackets as described: + +```console +docker run --rm -it -v :/scalardb-sql.properties ghcr.io/scalar-labs/scalardb-cluster-sql-cli:3.14.3 --config /scalardb-sql.properties ``` #### Usage diff --git a/versioned_docs/version-3.14/schema-loader.mdx b/versioned_docs/version-3.14/schema-loader.mdx index aca76e1a..1375c4e4 100644 --- a/versioned_docs/version-3.14/schema-loader.mdx +++ b/versioned_docs/version-3.14/schema-loader.mdx @@ -38,7 +38,7 @@ Select your preferred method to set up Schema Loader, and follow the instruction You can pull the Docker image from the [Scalar container registry](https://github.com/orgs/scalar-labs/packages/container/package/scalardb-schema-loader) by running the following command, replacing the contents in the angle brackets as described: ```console - docker run --rm -v : [-v :] ghcr.io/scalar-labs/scalardb-schema-loader: + docker run --rm -v :/scalardb.properties -v :/schema.json ghcr.io/scalar-labs/scalardb-schema-loader: --config /scalardb.properties --schema-file /schema.json ``` :::note