You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14-19Lines changed: 14 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,36 +14,31 @@ See the presentation here:
14
14
## Run Petclinic locally
15
15
16
16
Spring Petclinic is a [Spring Boot](https://spring.io/guides/gs/spring-boot) application built using [Maven](https://spring.io/guides/gs/maven/) or [Gradle](https://spring.io/guides/gs/gradle/).
17
-
Java 17 or later is required for the build, and the application can run with Java 17 or newer:
17
+
Java 17 or later is required for the build, and the application can run with Java 17 or newer.
Or you can run it from Maven directly using the Spring Boot Maven plugin. If you do this, it will pick up changes that you make in the project immediately (changes to Java source files require a compile as well - most people use an IDE for this):
25
+
If you are using Maven, you can start the application on the command-line as follows:
33
26
34
27
```bash
35
28
./mvnw spring-boot:run
36
29
```
30
+
With Gradle, the command is as follows:
31
+
32
+
```bash
33
+
./gradlew bootRun
34
+
```
37
35
36
+
You can then access the Petclinic at <http://localhost:8080/>.
38
37
39
-
> NOTE: If you prefer to use Gradle, you can build the app using `./gradlew build` and look for the jar file in `build/libs`.
40
-
>
41
-
> You can also run the application directly using Gradle:
0 commit comments