From cfdddc0a7bc37ecf46e1972444fa584d5de26e4f Mon Sep 17 00:00:00 2001 From: George Panaretos Date: Thu, 15 Dec 2022 15:35:49 +0100 Subject: [PATCH 1/4] Update README.adoc --- README.adoc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.adoc b/README.adoc index e3b0e3f10..6b5dd1dec 100644 --- a/README.adoc +++ b/README.adoc @@ -113,7 +113,7 @@ To run the application, run the following command in a terminal window (in the ` directory: ==== -[subs="attributes"] +[source,text] ---- ./gradlew bootRun ---- @@ -123,7 +123,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 ---- @@ -180,7 +180,7 @@ command (shown with its output): ==== [source,text] ---- -$ curl localhost:8080 +$ curl http://localhost:8080 Greetings from Spring Boot! ---- ==== @@ -320,7 +320,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"} ---- ==== @@ -331,7 +331,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"} ---- ==== @@ -401,7 +401,7 @@ From a different terminal window, run the following curl command (shown with its ==== [source,bash] ---- -$ curl localhost:8080 +$ curl http://localhost:8080 Hello, World! ---- ==== From b9fb8ec1de3f79b14112dc8e2c455c375984016f Mon Sep 17 00:00:00 2001 From: George Panaretos Date: Fri, 16 Dec 2022 11:39:29 +0100 Subject: [PATCH 2/4] Update README.adoc Adding note for the use of Spring Initializr --- README.adoc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.adoc b/README.adoc index 6b5dd1dec..8c31ee3bb 100644 --- a/README.adoc +++ b/README.adoc @@ -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 using Spring Initializr or not. + [[initial]] == Create a Simple Web Application From 5873f108b891f9046ab30590a7b161194145a739 Mon Sep 17 00:00:00 2001 From: George Panaretos Date: Tue, 12 Dec 2023 00:31:18 +0100 Subject: [PATCH 3/4] Update README.adoc --- README.adoc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.adoc b/README.adoc index 53b65fa11..37434ad0f 100644 --- a/README.adoc +++ b/README.adoc @@ -69,7 +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 using Spring Initializr or not. +NOTE: For Spring 3.0 you need Java 17 or later, regardless of whether you use Spring Initializr. + [[initial]] == Create a Simple Web Application From ccb06bed973c5f5f96a49bad0993fd35bbacabb6 Mon Sep 17 00:00:00 2001 From: George Panaretos Date: Tue, 12 Dec 2023 00:32:08 +0100 Subject: [PATCH 4/4] Update README.adoc --- README.adoc | 1 - 1 file changed, 1 deletion(-) diff --git a/README.adoc b/README.adoc index 37434ad0f..67c62ee67 100644 --- a/README.adoc +++ b/README.adoc @@ -71,7 +71,6 @@ NOTE: You can also fork the project from Github and open it in your IDE or other NOTE: For Spring 3.0 you need Java 17 or later, regardless of whether you use Spring Initializr. - [[initial]] == Create a Simple Web Application