Clone and build the Spring Music App

In order to get a deployable version of the Spring Music application, we will need to download it from a code repository online and build it. We do this, as follows:

  1. Clone the Git repository that contains the Spring Music application using the following command:
$ git clone https://github.com/cloudfoundry-samples/spring-music
  1. Navigate to the spring-music directory:
$ cd ./spring-music
  1. Assemble the Spring Music app using a Windows PowerShell or a Unix Terminal using the following,

On Unix-like platforms such as Linux and macOS X that do not yet have Gradle installed, use:

$ ./gradlew clean assemble

Unix-like platforms such as Linux and macOS X that do have Gradle installed, use:

$ gradle clean assemble ...

Get Cloud Foundry for Developers now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.