Skip to content

Commit cac6baa

Browse files
committed
Update rundoc template for latest version of rundoc (master or 1.0.2)
1 parent f560d6f commit cac6baa

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

docs/deploying-spring-boot-apps.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ Now deploy your code:
113113

114114
```term
115115
:::>- $ git push heroku master
116-
:::-> | $ (head -6; echo "..."; tail -18)
116+
:::-> | (head -6; echo "..."; tail -18)
117117
```
118118

119119
Heroku automatically detects the application as a Maven/Java app due to the presence of a `pom.xml` file. It installed Java 8 by default, but you can easily configure this with a `system.properties` file as described in the [Specifying a Java version](https://devcenter.heroku.com/articles/java-support#specifying-a-java-version) Dev Center article. It will run your app using the [default command](https://devcenter.heroku.com/articles/java-support#default-web-process-type).

docs/java-getting-started.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -127,15 +127,15 @@ First, create an app on Heroku, which prepares Heroku to receive your source cod
127127
:::>> $ heroku create
128128
```
129129

130-
When you create an app, a Git remote (named `heroku`) is also created and associated with your local Git repository.
130+
When you create an app, a Git remote (named `heroku`) is also created and associated with your local Git repository.
131131

132132
By default, Heroku generates a random name for your app. You can pass a parameter to specify your own app name.
133133

134134
Now deploy your code:
135135

136136
```term
137137
:::>- $ git push heroku master
138-
:::-> | $ (head -6; echo "..."; tail -18)
138+
:::-> | (head -6; echo "..."; tail -18)
139139
```
140140

141141
The application is now deployed. Ensure that at least one instance of the app is running:
@@ -236,7 +236,7 @@ Run `mvn clean install` in your local directory to install the dependencies, pre
236236

237237
```term
238238
:::>- $ mvn clean install
239-
:::-> | $ (echo "..."; tail -7)
239+
:::-> | (echo "..."; tail -7)
240240
```
241241

242242
If you do not have Maven installed, or get an error like `'mvn' is not recognized as an internal or external command`, then you can use the wrapper command instead by running `mvnw clean install` on Windows or `./mvnw clean install` on Mac and Linux. This both installs Maven and runs the Maven command.
@@ -266,7 +266,7 @@ Start your application locally with the `heroku local` CLI command (make sure yo
266266

267267
```term
268268
:::>- background.start("heroku local web", name: "local1", wait: "Tomcat started", timeout: 30)
269-
:::-> | $ (echo "..."; tail -4)
269+
:::-> | (echo "..."; tail -4)
270270
:::-- background.stop(name: "local1")
271271
```
272272

@@ -312,7 +312,7 @@ String hello(Map<String, Object> model) {
312312
model.put("science", "E=mc^2: 12 GeV = " + m.toString());
313313
return "hello";
314314
}
315-
```
315+
```
316316

317317
Finally, create a `src/main/resources/templates/hello.html` file with these contents:
318318

@@ -334,9 +334,9 @@ Now test your changes locally:
334334

335335
```term
336336
:::>- $ mvn clean install
337-
:::-> | $ (echo "..."; tail -7)
337+
:::-> | (echo "..."; tail -7)
338338
:::>- background.start("heroku local web", name: "local2", wait: "Tomcat started", timeout: 30)
339-
:::-> | $ (echo "..."; tail -4)
339+
:::-> | (echo "..."; tail -4)
340340
:::-- background.stop(name: "local2")
341341
```
342342

0 commit comments

Comments
 (0)