Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 449 Bytes

README.md

File metadata and controls

20 lines (13 loc) · 449 Bytes

Spring Boot Profiles

This project shows how to use profiles in a Spring Boot Project with Gradle and Maven

To run the project with Gradle

gradle -Dspring.profiles.active=ENVIRONMENT bootRun

To run the project with Maven

mvn -Dspring.profiles.active=ENVIRONMENT spring-boot:run

Read this as reference

https://josdem.io/techtalk/spring/spring_boot_profiles/