-
Fork the labs repo to your account. Browse to: https://github.com/pivotal-enablement/cloud-native-app-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
cloud-native-app-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 cloud-native-app-labs repo - HTTPS clone URL>
$ cd cloud-native-app-labs
$REPOS_HOME/cloud-native-app-labs
will be referred to $CLOUD_NATIVE_APP_LABS_HOME
throughout the labs.
- OPTIONAL STEP - Import applications into your IDE such as Spring Tool Suite (STS). Importing projects at the
cloud-native-app-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 cloud-native-app-labs directory. Make sure all projects are selected and click Finish.