A Mirror of Spring's PetClinic
Find a file
2020-10-13 18:04:16 -04:00
.mvn/wrapper Upgrade to Maven 3.6.3 and Maven Wrapper 0.5.6 2020-06-13 14:02:26 +01:00
.vscode Add ignores for vscode 2018-02-21 09:51:59 +00:00
src updated db name 2020-10-13 17:56:39 -04:00
.editorconfig Change EditorConfig to reflect some files are indented with 2 spaces 2020-06-13 14:03:04 +01:00
.gitignore Update to latest Boot and add some gitignores 2019-03-11 10:16:57 +00:00
.travis.yml Attempt to fix travis build by hardcoding Ubuntu dist 2019-06-21 12:27:16 +01:00
clean.sh new read and clean script 2020-10-13 18:03:24 -04:00
docker-compose.yml updated compose file 2020-10-13 17:31:33 -04:00
mvnw Upgrade to Maven 3.6.3 and Maven Wrapper 0.5.6 2020-06-13 14:02:26 +01:00
mvnw.cmd Upgrade to Maven 3.6.3 and Maven Wrapper 0.5.6 2020-06-13 14:02:26 +01:00
pom.xml Restore version to 2.3.0.BUILD-SNAPSHOT 2020-08-27 15:05:30 +02:00
readme.md simplified 2020-10-13 18:04:16 -04:00

mvn package

docker-compose up

java -Dspring.profiles.active=mysql -jar target/spring-petclinic-2.3.0.BUILD-SNAPSHOT.jar 

docker exec -it spring-petclinic_mysql_1 mysql -upetclinic -ppetclinic

show databases;
use petclinic;
show tables;

+---------------------+
| Tables_in_petclinic |
+---------------------+
| owners              |
| pets                |
| specialties         |
| types               |
| vet_specialties     |
| vets                |
| visits              |
+---------------------+
7 rows in set (0.00 sec)