Requirements:
-
JDK 17
-
Docker
-
Vault CLI
-
KIND - Kubernetes in Docker
Ensure that you have JDK 17 installed. If you don’t you can check SDKMAN https://sdkman.io/install/ as a tool to manage your JDK installations (and not only those). Then you’ll be able to run this command and it should point out to JDK 17.
$ java -versionYou can call the script that fetches docker images and downloads all application JARs.
$ ./scripts/download_everything.shGo to https://developer.hashicorp.com/vault/tutorials/getting-started/getting-started-install to learn how to install Vault CLI. Then you can make this call
$ vault --versionYou need Docker and Docker Compose. If the following commands don’t return results go to this link https://docs.docker.com/desktop/ and install Docker and Docker Compose.
$ docker --version
$ docker compose versionGo to https://kind.sigs.k8s.io/docs/user/quick-start to learn how to install KIND. If you install it then you can run this command to create a cluster
$ kind create clusterIf you’re using Windows and / or can’t run the automation script (./scripts/download_everything.sh) then ensure that you pull the Docker images for these docker compose files ($ docker compose pull)
-
docker-compose.yml -
week3/part1/docker-compose.yml
Run the maven command to fetch all dependencies
$ ./mvnw dependency:go-offline