Running Spring boot application under different profiles:
In intellij, click the edit configurations in the run/build dropdown
Under Environment > Vm options add:
-Dspring.profiles.active=local,dev
coding and other technobabble
Running Spring boot application under different profiles:
In intellij, click the edit configurations in the run/build dropdown
Under Environment > Vm options add:
-Dspring.profiles.active=local,dev