mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 23:05:50 +00:00
Make gitpod initialize on startup
This commit is contained in:
parent
4e1f87407d
commit
dc0600169e
3 changed files with 13 additions and 3 deletions
10
.gitpod.yml
Normal file
10
.gitpod.yml
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
image: gitpod/workspace-mysql
|
||||||
|
tasks:
|
||||||
|
- init: ./mvnw install -DskipTests && mysql < src/main/resources/db/mysql/user.sql
|
||||||
|
vscode:
|
||||||
|
extensions:
|
||||||
|
- vscjava.vscode-java-pack@0.8.1:LRImBn//d5JhH4PUEI1BaQ==
|
||||||
|
- vscjava.vscode-java-debug@0.23.0:3ARqL3kPh1J1SwpVjYUjqw==
|
||||||
|
- vscjava.vscode-java-test@0.22.0:BlvjRRJyZszeJzIS+xEHIA==
|
||||||
|
- redhat.java@0.54.2:Q60n5quUtfd1EcwzkRq96A==
|
||||||
|
- vscjava.vscode-maven@0.20.1:gdyOPlzH3PU5IkrigIg85g==
|
4
.vscode/launch.json
vendored
4
.vscode/launch.json
vendored
|
@ -13,7 +13,7 @@
|
||||||
"stopOnEntry": false,
|
"stopOnEntry": false,
|
||||||
"mainClass": "org.springframework.samples.petclinic.PetClinicApplication",
|
"mainClass": "org.springframework.samples.petclinic.PetClinicApplication",
|
||||||
"projectName": "spring-petclinic",
|
"projectName": "spring-petclinic",
|
||||||
"args": ""
|
"args": "--spring.profiles.active=mysql"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "java",
|
"type": "java",
|
||||||
|
@ -23,4 +23,4 @@
|
||||||
"port": 0
|
"port": 0
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# Spring PetClinic Sample Application [](https://travis-ci.org/spring-projects/spring-petclinic/)
|
# Spring PetClinic Sample Application [](https://travis-ci.org/spring-projects/spring-petclinic/) [](https://gitpod.io/#https://github.com/dsyer/spring-petclinic/tree/gitpod)
|
||||||
Deploy this sample application to Pivotal Web Services:
|
Deploy this sample application to Pivotal Web Services:
|
||||||
|
|
||||||
<a href="https://push-to.cfapps.io?repo=https%3A%2F%2Fgithub.com%2Fspring-projects%2Fspring-petclinic.git">
|
<a href="https://push-to.cfapps.io?repo=https%3A%2F%2Fgithub.com%2Fspring-projects%2Fspring-petclinic.git">
|
||||||
|
|
Loading…
Reference in a new issue