hrming

[IntelliJ] active profile 설정 본문

기타

[IntelliJ] active profile 설정

hrming 2024. 5. 20. 10:41

프로그램을 profile별로 실행을 해야할 때, application.yml 과 같은 파일에서 설정을 일일이 변경해야 한다.
하지만, IntelliJ에서는 아래와 같이 profile별로 실행 환경 설정해서 사용할 수 있다. 😊👍

 

Edit Configuration - Copy Configuration (기존 실행환경 복사 및 이름 재 설정) - Active profiles 설정


참고 및 출처 : 

https://lucas-owner.tistory.com/22

 

[IntelliJ] active profile 설정 하기 (Ultimate & Community)

IntelliJ (Ultimate, Community)에서 active profile 설정 하는 방법 IntelliJ IDE를 사용해서 Spring Boot 환경에서 개발하다 보면 profile 별로 실행을 해야 할 때가 존재한다. profile 별로 실행 할 때 마다, application.ym

lucas-owner.tistory.com

 

Comments