The project uses a Gradle-based build system. In the instructions
below, ./gradlew
is invoked from the root of the source tree and serves as
a cross-platform, self-contained bootstrap mechanism for the build.
Git and Java JDK 8
Be sure that your JAVA_HOME
environment variable points to the jdk1.8.0
folder
extracted from the JDK download.
Also make sure you are using the correct java version by issuing in a terminal the following command
java -version
./gradlew build
./gradlew test
./gradlew run
... and discover more commands with ./gradlew tasks
.
Be sure to have Docker installed and then simply issue:
docker run -d --name demo-api -p 4567:4567 quay.io/mrolla/demo-api