O'Reilly logo

Cloud Foundry for Developers by David Wu, Rahul Jain, Rick Farmer

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required