{"id":10,"date":"2021-11-02T18:40:54","date_gmt":"2021-11-02T18:40:54","guid":{"rendered":"https:\/\/blog.kevinyohe.dev\/?p=10"},"modified":"2021-11-02T18:40:54","modified_gmt":"2021-11-02T18:40:54","slug":"spring-profiles","status":"publish","type":"post","link":"https:\/\/blog.kevinyohe.dev\/?p=10","title":{"rendered":"Spring profiles"},"content":{"rendered":"\n<p>Running Spring boot application under different profiles:<\/p>\n\n\n\n<p>In intellij, click the edit configurations in the run\/build dropdown<\/p>\n\n\n\n<p>Under Environment > Vm options add:  <\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">-Dspring.profiles.active=local,dev<\/pre>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>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<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-10","post","type-post","status-publish","format-standard","hentry","category-uncategorized","entry"],"_links":{"self":[{"href":"https:\/\/blog.kevinyohe.dev\/index.php?rest_route=\/wp\/v2\/posts\/10","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.kevinyohe.dev\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.kevinyohe.dev\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.kevinyohe.dev\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.kevinyohe.dev\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10"}],"version-history":[{"count":1,"href":"https:\/\/blog.kevinyohe.dev\/index.php?rest_route=\/wp\/v2\/posts\/10\/revisions"}],"predecessor-version":[{"id":11,"href":"https:\/\/blog.kevinyohe.dev\/index.php?rest_route=\/wp\/v2\/posts\/10\/revisions\/11"}],"wp:attachment":[{"href":"https:\/\/blog.kevinyohe.dev\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.kevinyohe.dev\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.kevinyohe.dev\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}