Refer to the Configuration for configuration options.
- Server subproject qualifier:
:block-node:app
- Assuming your working directory is the repo root
NOTE: one may use the
-p
flag for./gradlew
in order to avoid specifying the target subproject repeatedly on each task when running multiple tasks. When running only a single task, however, it is recommended to use the project qualifier (i.e.:block-node:app:
) for both simplicity and clarity.
NOTE: if you have not done so already, it is generally recommended to build the entire repo first:
./gradlew clean build -x test
-
To quickly build the Server sources (without running tests), do the following:
./gradlew clean build -x test
-
Before building the server ensure your tests run successfully:
./gradlew clean qualityGate build runSuites
-
To build the Server docker image, do the following:
./gradlew :block-node:app:createDockerImage
-
To start the Server, do the following:
./gradlew :block-node:app:startDockerContainer
-
To start the Server with debug enabled, do the following:
./gradlew :block-node:app:startDockerDebugContainer
-
Attach your remote jvm debugger to port 5005.
-
To stop the Server do the following:
./gradlew :block-node:app:stopDockerContainer