The console output from JHipster gave us some handy commands for the next steps. Since we have new applications, we need to build them first, as follows:
- Let's go into each application folder and run the Gradle build. We can use the jib command to build and push directly to our registry, in this case, Docker Hub. If you want to build and tag locally, you can use the jibBuild command. Change the image name for each application:
> ./gradlew bootJar -Pprod jib -Djib.to.image=deepu105/store
- Since these are fresh applications, there should not be any errors. Once the builds are complete, we can navigate into the kubernetes folder and execute the provided bash script to start the deployment:
> cd kubernetes> ./kubectl-apply.sh ...