From 5e25174f91e27a33a4754c9563d1f3b70b1d967a Mon Sep 17 00:00:00 2001 From: Spencer Gibb Date: Mon, 21 Sep 2015 11:22:00 -0600 Subject: [PATCH] Initialize project page fixes gh-7 --- _config.yml | 14 +++++----- _includes/build.gradle | 3 +++ _includes/pom.xml | 7 +++++ index.html | 59 ++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 76 insertions(+), 7 deletions(-) create mode 100644 _includes/build.gradle create mode 100644 _includes/pom.xml create mode 100644 index.html diff --git a/_config.yml b/_config.yml index ddc41fb..d810c02 100644 --- a/_config.yml +++ b/_config.yml @@ -10,24 +10,24 @@ redcarpet: ### The following properties will change on a project-by-project basis # Context path in the remote website (usually /), will be prepended to absolute URLs for static resources -baseurl: /gh-pages +baseurl: /spring-cloud-cloudfoundry # Name of the project for display in places like page titles -name: Spring Framework +name: Spring Cloud Cloud Foundry # ID of the project in the metadata API at spring.io (if this is not a # valid project ID the javascript widgets in the home page will not work) -project: spring-framework +project: spring-cloud-cloudfoundry # Project github URL -github_repo_url: http://github.com/spring-projects/spring-framework +github_repo_url: http://github.com/spring-cloud/spring-cloud-cloudfoundry # Project forum URL -forum: http://forum.spring.io/forum/spring-projects/container +forum: http://stackoverflow.com/questions/tagged/spring-cloud # If you want to include a custom pom.xml or gradle template set these value to true and add _include files -custom_pom_template: false -custom_gradle_template: false +custom_pom_template: true +custom_gradle_template: true ### The following properties are constant for most projects diff --git a/_includes/build.gradle b/_includes/build.gradle new file mode 100644 index 0000000..1377418 --- /dev/null +++ b/_includes/build.gradle @@ -0,0 +1,3 @@ +dependencies { + compile '{@= groupId @}:spring-cloud-cloudfoundry-web:{@= version @}' +} diff --git a/_includes/pom.xml b/_includes/pom.xml new file mode 100644 index 0000000..df62c61 --- /dev/null +++ b/_includes/pom.xml @@ -0,0 +1,7 @@ + + + {@= groupId @} + spring-cloud-cloudfoundry-web + {@= version @} + + diff --git a/index.html b/index.html new file mode 100644 index 0000000..28de48f --- /dev/null +++ b/index.html @@ -0,0 +1,59 @@ +--- +# The name of your project +title: Spring Cloud Cloud Foundry + +badges: + + # Customize your project's badges. Delete any entries that do not apply. + custom: + - name: Source (GitHub) + url: https://github.com/spring-cloud/spring-cloud-cloudfoundry + icon: github + + - name: StackOverflow + url: http://stackoverflow.com/questions/tagged/spring-cloud + icon: stackoverflow + +--- + + + + +{% capture parent_link %} +[Spring Cloud]({{ site.projects_site_url }}/spring-cloud) +{% endcapture %} + + +{% capture billboard_description %} + +Spring Cloud for Cloudfoundry makes it easy to run [Spring Cloud](https://github.com/spring-cloud) apps in [Cloud Foundry](https://github.com/cloudfoundry) (the Platform as a Service). Cloud Foundry has the notion of a "service", which is middlware that you "bind" to an app, essentially providing it with an environment variable containing credentials (e.g. the location and username to use for the service). + +{% endcapture %} + +{% capture main_content %} + +## Features + +The `spring-cloud-cloudfoundry-web` project provides basic support for some enhanced features of webapps in Cloud Foundry: binding automatically to single-sign-on services and optionally enabling sticky routing for discovery. + +The `spring-cloud-cloudfoundry-discovery` project provides an implementation of Spring Cloud Commons `DiscoveryClient` so you can `@EnableDiscoveryClient` and provide your credentials as `spring.cloud.cloudfoundry.discovery.[email,password]` and then you can use the `DiscoveryClient` directly or via a `LoadBalancerClient` (also `*.url` if you are not connecting to [Pivotal Web Services](https://run.pivotal.io)). + +> NOTE: if you are looking for a way to bind to services then this is the wrong library. Check out the [Spring Cloud Connectors](https://github.com/spring-cloud/spring-cloud-connectors) instead. + + +## Quick Start + +{% include download_widget.md %} + +{% endcapture %} + +{% capture related_resources %} + +### Sample Projects + +* [Cloud Foundry Sample](https://github.com/spring-cloud/spring-cloud-cloudfoundry/tree/master/spring-cloud-cloudfoundry-sample) + +{% endcapture %} + +{% include project_page.html %} +