Skip to content

Latest commit

 

History

History
51 lines (32 loc) · 2.02 KB

README.md

File metadata and controls

51 lines (32 loc) · 2.02 KB

Build Status

Migrating from Spring Boot 1.5 to 2.0

Accompanying demonstration project for Migrating to Spring Boot 2 and Webflux meetup talk.

Compare tags 1.5.x, 2.0.x and 2.0.x-webflux to see the changes.

Technology

Production Code

Test Code

Tooling

Build, Run and Test

The recommended gradle wrapper is used to build the application and is included in the source code.

Build

  • With Gradle: ./gradlew build
  • With Docker: sudo docker build -t trevorgowing/spring-boot-demo:X.X.X .
  • With Docker Compose: sudo docker-compose build spring-boot-demo

Run

  • With Gradle: ./gradlew bootrun (will build if not already built)
  • With Docker: sudo docker run trevorgowing/spring-boot-demo:X.X.X (needs to be built explicitly)
  • With Docker Compose: sudo docker-compose --build up
  • With Bash Script: ./start.sh (runs docker-compose internally)

Test

  • With Gradle: ./gradlew test

License

MIT License