Skip to content

Commit f291695

Browse files
sannanansarimhalbritter
authored andcommitted
Remove run example from documentation
See gh-33519
1 parent 7cdf3f4 commit f291695

File tree

1 file changed

+0
-39
lines changed
  • spring-boot-project/spring-boot-docs/src/docs/asciidoc/getting-started

1 file changed

+0
-39
lines changed

spring-boot-project/spring-boot-docs/src/docs/asciidoc/getting-started/installing.adoc

-39
Original file line numberDiff line numberDiff line change
@@ -194,42 +194,3 @@ Scoop installs `spring` to `~/scoop/apps/springboot/current/bin`.
194194

195195
NOTE: If you do not see the app manifest, your installation of scoop might be out-of-date.
196196
In that case, run `scoop update` and try again.
197-
198-
199-
200-
[[getting-started.installing.cli.quick-start]]
201-
==== Quick-start Spring CLI Example
202-
You can use the following web application to test your installation.
203-
To start, create a file called `app.groovy`, as follows:
204-
205-
[source,groovy,indent=0,pending-extract=true,subs="verbatim"]
206-
----
207-
@RestController
208-
class ThisWillActuallyRun {
209-
210-
@RequestMapping("/")
211-
String home() {
212-
"Hello World!"
213-
}
214-
215-
}
216-
----
217-
218-
Then run it from a shell, as follows:
219-
220-
[source,shell,indent=0,subs="verbatim"]
221-
----
222-
$ spring run app.groovy
223-
----
224-
225-
NOTE: The first run of your application is slow, as dependencies are downloaded.
226-
Subsequent runs are much quicker.
227-
228-
Open `http://localhost:8080` in your favorite web browser.
229-
You should see the following output:
230-
231-
[indent=0]
232-
----
233-
Hello World!
234-
----
235-

0 commit comments

Comments
 (0)