Deploying the app

Deploying the app

Before deploying the app to Clever Cloud, you must provide a clevercloud/gradle.json file within your project. You can determine the value of the jarName property by running the gradlew assemble command on your local machine.

1{
2  "build": {
3    "type": "gradle",
4    "goal": "assemble"
5  },
6  "deploy": {
7    "jarName": "./build/libs/clever-cloud-demo-0.0.1-SNAPSHOT.jar"
8  }
9}

Click the Create…​ button. Then select the an application option.

clever cloud create app 02

Click on the Select your GitHub repository dropdown. Then select your app’s repo.

clever cloud create app 04

Select the Java or Grooy + Gradle option.

clever cloud create app 05

Click the Next button.

clever cloud create app 06

Select the Paris data center. Click the Create button.

clever cloud create app 07

Wait a bit…​

clever cloud create app 08

Find the app URL in the Domain names menu item.

clever cloud create app 12

Then check its availability with your browser.

clever cloud create app 13