Basic Spring Cloud Config example
cd config-server
mvn install
java -jar target/config-server.jar
or
./mvnw spring-boot:run
curl localhost:8060/myapp/dev
cd config-client
mvn install
java -jar -Dspring.profiles.active=dev target/config-client.jar
or (for prod env)
java -jar -Dspring.profiles.active=prod target/config-client.jar