From df7c1fd4186d04162f983a69ac9c87edafc8a996 Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Thu, 10 Sep 2015 10:18:18 +0100 Subject: [PATCH] Remove configserver again --- index.html | 37 ------------------------------------- 1 file changed, 37 deletions(-) diff --git a/index.html b/index.html index 25e10a1..e6f2980 100644 --- a/index.html +++ b/index.html @@ -47,43 +47,6 @@ configure or extend to create a custom solution. ## Quick Start -You can create a Config Server with a single annotation: - -```groovy -@EnableConfigServer -class ConfigServer { -} -``` - -This app runs from the Spring Boot CLI (once the `spring-cloud-cli` -extensions are installed), e.g. - -``` -$ spring install org.springframework.cloud:spring-cloud-cli:1.0.3.RELEASE -$ spring run configserver.groovy -- --server.port=8888 -``` - -Any other local application that includes `spring-cloud-config` as a -dependency will be able to contact this server and pre-initialize the -Spring `Environment` with external configuration managed by the -server. The Spring Boot CLI (with the Cloud extensions) will do this -automatically for all applications. - -```groovy -@Controller -class ConfigClient { -} -``` - -Run this app with the Spring Boot CLI and then visit -http://localhost:8080/env (the `Environment` endpoint). Notice the -property sources that come from the config server at the top of the -results. - -(N.B. does not work if you can't connect to -[github.com](https://github.com) because that's where the default -configuration repository lives.) - ## Features Spring Cloud focuses on providing good out of box experience for typical use cases and extensibility mechanism to cover others.