The default Java app that will be pushed into the Swisscom Application Cloud if no source code is provided.
Based on Spark
- Install the Java JDK
- Install Gradle
- Run
gradle build
- Run
java -jar build/libs/cf-default-app-java-1.0.0.jar
- Visit http://localhost:4567
- Install the Java JDK
- Install Gradle
- Install the cf CLI
- Run
gradle build
- Run
cf push -p build/libs/cf-default-app-java-1.0.0.jar --random-route
- Visit the given URL
- Install the Java JDK
- Install Gradle
- Run
gradle build
- Run
mv build/libs/cf-default-app-java-1.0.0.jar java_app.zip