From f071e1b847b8da3ede59be8580f464c51d2820e2 Mon Sep 17 00:00:00 2001 From: Jack Green Date: Fri, 11 Apr 2025 11:12:23 +0100 Subject: [PATCH 1/2] Centralise C++ Client installations instructions The installation instructions for the C++ client need adjusting - https://github.com/hazelcast/hazelcast-cpp-client/pull/1272 To save duplicating the fix, it's more maintainable to link to the existing instructions and avoid duplication. _(note - originally raised done in https://github.com/hazelcast-guides/cpp-client-getting-started/pull/4 but that repo should've been archived)_ --- .../pages/cpp-client-getting-started.adoc | 31 +------------------ 1 file changed, 1 insertion(+), 30 deletions(-) diff --git a/docs/modules/clients/pages/cpp-client-getting-started.adoc b/docs/modules/clients/pages/cpp-client-getting-started.adoc index 7fe594be3..bccc77388 100644 --- a/docs/modules/clients/pages/cpp-client-getting-started.adoc +++ b/docs/modules/clients/pages/cpp-client-getting-started.adoc @@ -13,6 +13,7 @@ Before you begin, make sure you have the following: * C++ 11 or above * https://cloud.hazelcast.com/[Hazelcast Cloud Account] +* https://github.com/hazelcast/hazelcast-cpp-client#vcpkg-users[`vcpkg` & Hazelcast {cpp} client] * A text editor or IDE == Start a Hazelcast Cloud Cluster @@ -33,36 +34,6 @@ mkdir hazelcast-cpp-example cd hazelcast-cpp-example ---- -Download and install Vcpkg: + - -for Windows; -[source,bash] ----- -git clone https://github.com/microsoft/vcpkg -.\vcpkg\bootstrap-vcpkg.bat ----- - -for non-Windows; -[source,bash] ----- -git clone https://github.com/microsoft/vcpkg -./vcpkg/bootstrap-vcpkg.sh ----- - -Download and install hazelcast-cpp-client: + - -for Windows; -[source,bash] ----- -.\vcpkg\vcpkg.exe install "hazelcast-cpp-client[openssl]" --recurse ----- - -for non-Windows; -[source,bash] ----- -./vcpkg/vcpkg install "hazelcast-cpp-client[openssl]" --recurse ----- - NOTE: Avoid directory names in your path that contain spaces or other non-standard characters. Extract the keystore files you downloaded into this directory. The files you need for this tutorial are: From cb0a44fff192b1f6a6dc1b5920ed808af1a8bcfe Mon Sep 17 00:00:00 2001 From: Rob Swain Date: Fri, 11 Apr 2025 14:33:13 +0100 Subject: [PATCH 2/2] Update docs/modules/clients/pages/cpp-client-getting-started.adoc --- docs/modules/clients/pages/cpp-client-getting-started.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/modules/clients/pages/cpp-client-getting-started.adoc b/docs/modules/clients/pages/cpp-client-getting-started.adoc index bccc77388..8c949f662 100644 --- a/docs/modules/clients/pages/cpp-client-getting-started.adoc +++ b/docs/modules/clients/pages/cpp-client-getting-started.adoc @@ -13,7 +13,7 @@ Before you begin, make sure you have the following: * C++ 11 or above * https://cloud.hazelcast.com/[Hazelcast Cloud Account] -* https://github.com/hazelcast/hazelcast-cpp-client#vcpkg-users[`vcpkg` & Hazelcast {cpp} client] +* https://github.com/hazelcast/hazelcast-cpp-client#vcpkg-users[vcpkg and Hazelcast {cpp} client] * A text editor or IDE == Start a Hazelcast Cloud Cluster