Skip to content

Instantly share code, notes, and snippets.

@chrisparnin
Created August 31, 2018 01:29
Show Gist options
  • Save chrisparnin/c4aa2adc203429c18b3d487332ad9119 to your computer and use it in GitHub Desktop.
Save chrisparnin/c4aa2adc203429c18b3d487332ad9119 to your computer and use it in GitHub Desktop.
Hibernate-spring example
name: hibernate-spring
vm:
ip: 192.168.8.8
ports: 8080
vars:
- mysql_password:
prompt: Type your password for mysql server
tools:
- maven
services:
- mysql:
version: 8
service_conf: env/templates/mysql.cfg
client_conf: env/templates/my.cnf
lang:
- java8
config:
- template:
src: env/templates/hibernate-template.cfg.xml
dest: /Onboarding/CoffeeMaker/src/main/resources/hibernate.cfg.xml
commands:
serve: cd CoffeeMaker && mvn spring-boot:run
debug: cd CoffeeMaker && mvnDebug spring-boot:run
test: cd CoffeeMaker && mvn test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment