Remove run example from documentation

See gh-33519
This commit is contained in:
Sanan 2022-12-08 11:38:35 +05:30 committed by Moritz Halbritter
parent 7cdf3f432f
commit f291695bda

View File

@ -194,42 +194,3 @@ Scoop installs `spring` to `~/scoop/apps/springboot/current/bin`.
NOTE: If you do not see the app manifest, your installation of scoop might be out-of-date.
In that case, run `scoop update` and try again.
[[getting-started.installing.cli.quick-start]]
==== Quick-start Spring CLI Example
You can use the following web application to test your installation.
To start, create a file called `app.groovy`, as follows:
[source,groovy,indent=0,pending-extract=true,subs="verbatim"]
----
@RestController
class ThisWillActuallyRun {
@RequestMapping("/")
String home() {
"Hello World!"
}
}
----
Then run it from a shell, as follows:
[source,shell,indent=0,subs="verbatim"]
----
$ spring run app.groovy
----
NOTE: The first run of your application is slow, as dependencies are downloaded.
Subsequent runs are much quicker.
Open `http://localhost:8080` in your favorite web browser.
You should see the following output:
[indent=0]
----
Hello World!
----