Updated App.java to add a new function

This commit is contained in:
Nerosshini 2024-09-07 02:29:06 +08:00
parent 5f7fde4737
commit 2d5608dbb7

View file

@ -6,7 +6,7 @@
[See the presentation here](https://speakerdeck.com/michaelisvy/spring-petclinic-sample-application)
## Run Petclinic locally
## Run Petclinic locally in machine
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/). You can build a jar file and run it from the command line (it should work just as well with Java 17 or newer):
@ -16,7 +16,7 @@ cd spring-petclinic
./mvnw package
java -jar target/*.jar
```
PetClinicSpring
PetClinicSpringPetClinicSpring
You can then access the Petclinic at <http://localhost:8080/>.
<img width="1042" alt="petclinic-screenshot" src="https://cloud.githubusercontent.com/assets/838318/19727082/2aee6d6c-9b8e-11e6-81fe-e889a5ddfded.png">
@ -160,3 +160,4 @@ For pull requests, editor preferences are available in the [editor config](.edit
## License
The Spring PetClinic sample application is released under version 2.0 of the [Apache License](https://www.apache.org/licenses/LICENSE-2.0).