Skip to content

Commit

Permalink
Merge branch 'GeorgePanaretos-main'
Browse files Browse the repository at this point in the history
Various changes to the readme.
  • Loading branch information
Jay Bryant committed Dec 12, 2023
2 parents c43e1e8 + ccb06be commit fde35c3
Showing 1 changed file with 8 additions and 5 deletions.
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

0 comments on commit fde35c3

Please sign in to comment.