Remove config server from quick start

It's confusing to concentrate on the config server when there
are many more projects in the umbrella. Just leave the download
widget and the description of the release train.
This commit is contained in:
Dave Syer
2015-07-27 10:30:22 +01:00
parent 2d2acad8c2
commit 5ee69888d2

View File

@@ -47,42 +47,7 @@ configure or extend to create a custom solution.
<span id="quick-start"></span>
## 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.)
{% include download_widget.md %}
## Release Trains
@@ -104,8 +69,6 @@ dependency management or as a parent POM (Maven only). Example using
the latest version with the config client and eureka (change the
artifact ids to pull in other starters):
{% include download_widget.md %}
Release train contents:
|Component|Angel.SR3 | Brixton.BUILD-SNAPSHOT |