Skip to content

Commit 8751ffc

Browse files
pdarvasilacikaaa
authored andcommitted
CLOUD-87281 Unspecified version handling - documentation
1 parent a1af0c5 commit 8751ffc

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,18 @@ The `-Dcb.cert.dir=FULL_PATH_OF_THE_CERTS_DIR_GENERATED_BY_CBD` value above need
143143
The `-Dcb.client.secret=CB_SECRET_GENERATED_BY_CBD` value has to be replaced with the value of UAA_DEFAULT_SECRET from the cdb-local/Profile file.
144144
The databse migration is ran automatically by Cloudbreak, this automated migration could be turn off through the `-Dcb.schema.migration.auto=false` VM option.
145145

146+
### Configure Before launch task
147+
148+
In order to be able to determine the local Cloudbreak version automatically, a `Before launch` task has to be configured for the project in IntelliJ Idea. The required steps are the following:
149+
150+
1. Open `Run/Debug Configurations` for the project
151+
2. Select your project's application
152+
3. Click on `Add` in the `Before launch` panel
153+
4. Select `Run Gradle Task` with the following parameters
154+
1. `Gradle project`: cloudbreak:core
155+
2. `Tasks`: buildInfo
156+
5. Confirm and restart the application
157+
146158
## Command line
147159

148160
To run Cloudbreak from command line you have to list the JVM parameters from above for gradle:

0 commit comments

Comments
 (0)