application.properties, e.g.
application.properties
server.port: 8888
-spring.cloud.config.server.git.uri: file://${HOME}/config-repo
+spring.cloud.config.server.git.uri: file://${user.home}/config-repo
diff --git a/spring-cloud-config.html b/spring-cloud-config.html index 49c4ec22..a076e911 100644 --- a/spring-cloud-config.html +++ b/spring-cloud-config.html @@ -468,9 +468,9 @@ $ mvn spring-boot:run
The server is a Spring Boot application so you can build the jar file
-and run that (java -jar …) or pull it down from a Maven
-repository. Then try it out as a client:
The server is a Spring Boot application so you can run it from your
+IDE instead if you prefer (the main class is
+ConfigServerApplication). Then try it out a client:
application.properties, e.g.
server.port: 8888
-spring.cloud.config.server.git.uri: file://${HOME}/config-repo
+spring.cloud.config.server.git.uri: file://${user.home}/config-repo
where ${HOME}/config-repo is a git repository containing
+
where ${user.home}/config-repo is a git repository containing
YAML and properties files.