Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.adoc #147

Merged
merged 5 commits into from
Dec 12, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ NOTE: If your IDE has the Spring Initializr integration, you can complete this p

NOTE: You can also fork the project from Github and open it in your IDE or other editor.

NOTE: For Spring 3.0 you need Java 17 or later, regardless of whether you use Spring Initializr.

[[initial]]
== Create a Simple Web Application

Expand Down Expand Up @@ -113,7 +115,7 @@ To run the application, run the following command in a terminal window (in the `
directory:

====
[subs="attributes"]
[source,text]
----
./gradlew bootRun
----
Expand All @@ -123,7 +125,7 @@ If you use Maven, run the following command in a terminal window (in the `comple
directory:

====
[subs="attributes"]
[source,text]
----
./mvnw spring-boot:run
----
Expand Down Expand Up @@ -180,7 +182,7 @@ command (shown with its output):
====
[source,text]
----
$ curl localhost:8080
$ curl http://localhost:8080
Greetings from Spring Boot!
----
====
Expand Down Expand Up @@ -320,7 +322,7 @@ You can check the health of the application by running the following command:
====
[source,bash]
----
$ curl localhost:8080/actuator/health
$ curl http://localhost:8080/actuator/health
{"status":"UP"}
----
====
Expand All @@ -331,7 +333,7 @@ added the necessary line (shown in the preceding note) to `application.propertie
====
[source,bash]
----
$ curl -X POST localhost:8080/actuator/shutdown
$ curl -X POST http://localhost:8080/actuator/shutdown
{"timestamp":1401820343710,"error":"Not Found","status":404,"message":"","path":"/actuator/shutdown"}
----
====
Expand Down Expand Up @@ -360,6 +362,7 @@ deployments but also lets you put together executable JARs, thanks to Spring Boo
module. The various guides demonstrate this dual support through the
`spring-boot-gradle-plugin` and `spring-boot-maven-plugin`.


== Summary

Congratulations! You built a simple web application with Spring Boot and learned how it
Expand Down