Accessing the source code
The source code for this book can be found in this book’s GitHub repository at https://github.com/PacktPublishing/Microservices-with-Spring-Boot-and-Spring-Cloud-Fourth-Edition.
To be able to run the commands that are described in this book on the Linux server in WSL 2, download the source code to a folder and set up an environment variable, $BOOK_HOME
, that points to that folder. Here are some sample commands:
export BOOK_HOME=~/Microservices-with-Spring-Boot-and-Spring-Cloud-Fourth-Edition
git clone https://github.com/PacktPublishing/Microservices-with-Spring-Boot-and-Spring-Cloud-Fourth-Edition.git $BOOK_HOME
To verify that you have access to the source code that’s been downloaded to the Linux server in WSL 2 from Visual Studio Code, run the following commands:
cd $BOOK_HOME
code .
Visual Studio Code will open a window from which you can start to inspect the source code. You can also start a Terminal window for running...