gitpod config

This commit is contained in:
Sven Efftinge 2019-08-22 13:06:20 +00:00
parent e157f200f8
commit aa43ea4884
3 changed files with 19 additions and 3 deletions

10
.gitpod.yml Normal file
View file

@ -0,0 +1,10 @@
image:
file: Dockerfile
# exposed ports
ports:
- port: 8080
onOpen: open-preview
# start up tasks
tasks:
- init: ./mvnw package -DskipTests >/dev/null
command: ./mvnw package -DskipTests # FIXME : LS removes *.css on initialize

3
Dockerfile Normal file
View file

@ -0,0 +1,3 @@
FROM gitpod/workspace-full
# add your tools here

View file

@ -4,6 +4,9 @@ Deploy this sample application to Pivotal Web Services:
<img src="https://push-to.cfapps.io/ui/assets/images/Push-to-Pivotal-Dark.svg" width="130" alt="Push" align="top"> <img src="https://push-to.cfapps.io/ui/assets/images/Push-to-Pivotal-Dark.svg" width="130" alt="Push" align="top">
</a> </a>
Start coding in Gitpod, a free online dev environment.
[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/from-referrer/)
## Understanding the Spring Petclinic application with a few diagrams ## Understanding the Spring Petclinic application with a few diagrams
<a href="https://speakerdeck.com/michaelisvy/spring-petclinic-sample-application">See the presentation here</a> <a href="https://speakerdeck.com/michaelisvy/spring-petclinic-sample-application">See the presentation here</a>
@ -92,9 +95,9 @@ Visit [http://localhost:8080](http://localhost:8080) in your browser.
|Spring Boot Configuration | Class or Java property files | |Spring Boot Configuration | Class or Java property files |
|--------------------------|---| |--------------------------|---|
|The Main Class | [PetClinicApplication](https://github.com/spring-projects/spring-petclinic/blob/master/src/main/java/org/springframework/samples/petclinic/PetClinicApplication.java) | |The Main Class | [PetClinicApplication](./src/main/java/org/springframework/samples/petclinic/PetClinicApplication.java) |
|Properties Files | [application.properties](https://github.com/spring-projects/spring-petclinic/blob/master/src/main/resources) | |Properties Files | [application.properties](./src/main/resources/application.properties) |
|Caching | [CacheConfiguration](https://github.com/spring-projects/spring-petclinic/blob/master/src/main/java/org/springframework/samples/petclinic/system/CacheConfiguration.java) | |Caching | [CacheConfiguration](./src/main/java/org/springframework/samples/petclinic/system/CacheConfiguration.java) |
## Interesting Spring Petclinic branches and forks ## Interesting Spring Petclinic branches and forks