All of the commands that are described in this book have been run on a MacBook Pro using macOS Mojave but should be straightforward to modify so that they can be run on another platform, such as Linux or Windows.
The source code for this chapter can be found in this book's GitHub repository: https://github.com/PacktPublishing/Hands-On-Microservices-with-Spring-Boot-and-Spring-Cloud/tree/master/Chapter20.
To be able to run the commands as described in this book, you need to download the source code to a folder and set up an environment variable, $BOOK_HOME, that points to that folder. Some sample commands are as follows:
export BOOK_HOME=~/Documents/Hands-On-Microservices-with-Spring-Boot-and-Spring-Cloud
git clone https://github.com/PacktPublishing/Hands-On-Microservices-with-Spring-Boot-and-Spring-Cloud $BOOK_HOME
cd $BOOK_HOME...