Skip to content

Commit 95ea799

Browse files
Jouko/rox 7575 update collector readme file (#430)
* X-Smart-Branch-Parent: master * Updated README.md for CLion v2021.1.3 * Changed instructions depending on version of CLion to instructions depending upon OS
1 parent e96a38f commit 95ea799

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,21 @@ These instructions are for using the *JetBrains* C/C++ IDE **CLion**, but should
2222
- `make start-dev`
2323
- (Optional) Local builder images can used by setting the environment variable before execution using `BUILD_BUILDER_IMAGE=true make start-dev`.
2424
Or, builder images from a PR by with `COLLECTOR_BUILDER_TAG=<circle-build-id> make start-dev`.
25+
26+
Instructions for Mac OS
2527
- In the **CLion->Preferences** window, add a new **Toolchain** entry in settings under **Build, Execution, Deployment** as a **Remote Host** type.
2628
- Then, click in the **Credentials** section and fill out the SSH credentials used in the builder Dockerfile.
2729
- Host: `localhost`, Port: `2222`, User name: `remoteuser`, Password: `c0llectah`
2830
- Next, select **Deployment** under **Build, Execution, Deployment**, and then **Mappings**. Set **Deployment path** to `/tmp`.
2931
- Finally, add a CMake profile that uses the **Remote Host** toolchain and change **Build directory**/**Generation Path** to `cmake-build`.
3032

33+
Instructions for Linux
34+
- In the **File->Settings->Build, Execution, Deployment->Toolchains** window, add a new **Toolchain** entry as a **Remote Host** type.
35+
- Then, click in the **Credentials** section and fill out the SSH credentials used in the builder Dockerfile.
36+
- Host: `localhost`, Port: `2222`, User name: `remoteuser`, Password: `c0llectah`
37+
- In the **File->Setting->Build, Execution, Deployment->Deployment** window click on the **Mappings** tab. Set **Deployment path** to /tmp.
38+
- In the **File->Settings->Build, Execution, Deployment->CMake** window add a CMake profile that uses the **Remote Host** toolchain and change **Build directory**/**Generation Path** to `cmake-build`.
39+
3140
The development workflow can also be used with the rhel based builder image.
3241
- Start the collector builder with `make start-dev-rhel`
3342
- Create a Red Hat CMake profile with **Build Directory**/**Generation Path** set to `cmake-build-rhel`.

0 commit comments

Comments
 (0)