-
Fork the labs repo to your account. Browse to: https://github.com/pivotal-enablement/spring-boot-labs. Then fork the repo.
-
GitHub displays your new fork. Copy the HTTPS clone URL from your fork.
-
Open a new terminal window. Clone your fork of the
spring-boot-labs
. This contains several applications used to demonstrate cloud native architectures. Get familiar with the sub directories. We recommend organizing your work into arepos
directory. Arepos
directory is where you will clone repositories and perform your work. Throughout the labs we will reference this directory as$REPOS_HOME
.
$ cd $REPOS_HOME
$ git clone <Your fork of the spring-boot-labs repo - HTTPS clone URL>
$ cd spring-boot-labs
$REPOS_HOME/spring-boot-labs
will be referred to $SPRING_BOOT_LABS_HOME
throughout the labs.
- OPTIONAL STEP - Import applications into your IDE such as Spring Tool Suite (STS). Importing projects at the
spring-boot-labs
level is recommended because there are several projects. Otherwise, use your favorite editor.
STS Import Help:
Select File > Import... Then select Maven > Existing Maven Projects. On the Import Maven Projects page, browse to your spring-boot-labs directory. Make sure all projects are selected and click Finish.