Skip to content

Commit 3a258b6

Browse files
committed
add next steps
1 parent edb20d3 commit 3a258b6

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

src/main/resources/spark/template/freemarker/header.ftl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<title>Getting Started</title>
1+
<title>Java Getting Started on Heroku</title>
22
<link rel="stylesheet" type="text/css" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css" />
33
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
44
<script type="text/javascript" src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>

src/main/resources/spark/template/freemarker/index.ftl

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,23 @@
3030
<ul>
3131
<li>This app was deployed to Heroku, either using Git or by using <a href="https://github.com/heroku/java-getting-started">Heroku Button</a> on the repository.</li>
3232

33-
<li>When Heroku received the source code, it grabbed all the dependencies in the <a href="https://github.com/heroku/java-getting-started/blob/master/pom.xml">pom.xml</a>.</li>
33+
<li>When Heroku received the source code, it fetched all the dependencies in the <a href="https://github.com/heroku/java-getting-started/blob/master/pom.xml">pom.xml</a>, creating a slug.</li>
3434
<li>The platform then spins up a dyno, a lightweight container that provides an isolated environment in which the slug can be mounted and executed.</li>
3535
<li>You can scale your app, manage it, and deploy over <a href="https://addons.heroku.com/">150 add-on services</a>, from the Dashboard or CLI.</li>
36-
<li>Check out the <a href="https://devcenter.heroku.com/articles/getting-started-with-java">Getting Started</a> guide to learn more!</li>
3736
</ul>
3837
</div>
3938
<div class="col-md-6">
39+
<h3><span class="glyphicon glyphicon-link"></span> Next Steps</h3>
40+
<ul>
41+
<li>If you are following the <a href="https://devcenter.heroku.com/articles/getting-started-with-java">Getting Started</a> guide, then please head back to the tutorial and follow the next steps!</li>
42+
<li>If you deployed this app by deploying the Heroku Button, then in a command line shell, run:</li>
43+
<ul>
44+
<li><code>git clone https://github.com/heroku/java-getting-started.git</code> - this will create a local copy of the source code for the app</li>
45+
<li><code>cd java-getting-started</code> - change directory into the local source code repository</li>
46+
<li><code>heroku git:remote -a &lt;your-app-name></code> - associate the Heroku app with the repository</li>
47+
<li>You'll now be set up to run the app locally, or <a href="https://devcenter.heroku.com/articles/getting-started-with-java#push-local-changes">deploy changes</a> to Heroku</li>
48+
</ul>
49+
</ul>
4050
<h3><span class="glyphicon glyphicon-link"></span> Helpful Links</h3>
4151
<ul>
4252
<li><a href="https://www.heroku.com/home">Heroku</a></li>

0 commit comments

Comments
 (0)