Search This Blog

Sunday, March 21, 2021

compile and run springboot program using terminal

Build program ---> mvn clean install Run Project ----> mvn clean package Set properties.yml file ------------------------------------------------------------------ spring: profiles:dev server: port:8000 --- spring: profiles:test server: port:9000 ------------------------------------------------------------------ Set Environment variable(dev or test) environment using following ncommand: or How to pass Environment variable to JVM

No comments:

Post a Comment