Install OpenJDK by executing following instructions,
For Windows
choco install openjdk@18
For MacOS
brew install openjdk@18
Set Redis server environment variables in '.env' file. This file will not checked into Git as it holds sensitive information such as Redis password.
export $(cat .env | xargs)
gradle build
gradle bootRun
Tell Docker CLI to talk to minikube's VM.
For MacOS,
eval $(minikube docker-env)
For Windows,
& minikube -p minikube docker-env --shell powershell | Invoke-Expression
Build docker image,
docker build -t cart:latest .