-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathprepare.html.md.erb
More file actions
25 lines (18 loc) · 1.02 KB
/
prepare.html.md.erb
File metadata and controls
25 lines (18 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
---
title: Prepare the App
owner: Daniel Freitag
---
<strong><%= modified_date %></strong>
In this step, you will prepare a simple Java web application that can be deployed.
Execute the following commands to clone the sample application:
<pre class="terminal">
$ git clone https://github.com/swisscom/cf-sample-app-java.git
$ cd cf-sample-app-java
</pre>
You now have a functioning git repository that contains a simple Java <a href="http://sparkjava.com/" target="_blank">Spark</a> application as well as a `build.gradle` file, which is used by Gradle to manage dependencies and build the app.
<p class="note">
<strong>Note</strong>: In case you are stuck during the tutorial, you can always check out the <a href="https://github.com/swisscom/cf-sample-app-java/tree/final-result" target="_blank"><code>final-result</code></a> branch of the sample app repo to see what your code should look like.
</p>
<div style="text-align:center;margin:3em;">
<a href="./deploy.html" class="btn btn-primary">I cloned the App source</a>
</div>