https://github.com/josdem/spring-boot-profiles
This project shows how to use profiles in a Spring Boot Project with Gradle and Maven
https://github.com/josdem/spring-boot-profiles
externalize-configuration spring-boot2
Last synced: 6 months ago
JSON representation
This project shows how to use profiles in a Spring Boot Project with Gradle and Maven
- Host: GitHub
- URL: https://github.com/josdem/spring-boot-profiles
- Owner: josdem
- Created: 2018-11-19T20:04:52.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-20T01:26:10.000Z (over 7 years ago)
- Last Synced: 2025-03-10T20:47:54.455Z (over 1 year ago)
- Topics: externalize-configuration, spring-boot2
- Language: Java
- Size: 10.7 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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
```bash
gradle -Dspring.profiles.active=ENVIRONMENT bootRun
```
#### To run the project with Maven
```bash
mvn -Dspring.profiles.active=ENVIRONMENT spring-boot:run
```
#### Read this as reference
https://josdem.io/techtalk/spring/spring_boot_profiles/