Initialize project page

fixes gh-7
This commit is contained in:
Spencer Gibb
2015-09-21 11:22:00 -06:00
parent 8227656cb0
commit 5e25174f91
4 changed files with 76 additions and 7 deletions

View File

@@ -10,24 +10,24 @@ redcarpet:
### The following properties will change on a project-by-project basis
# Context path in the remote website (usually /<project>), 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

3
_includes/build.gradle Normal file
View File

@@ -0,0 +1,3 @@
dependencies {
compile '{@= groupId @}:spring-cloud-cloudfoundry-web:{@= version @}'
}

7
_includes/pom.xml Normal file
View File

@@ -0,0 +1,7 @@
<dependencies>
<dependency>
<groupId>{@= groupId @}</groupId>
<artifactId>spring-cloud-cloudfoundry-web</artifactId>
<version>{@= version @}</version>
</dependency>
</dependencies>

59
index.html Normal file
View File

@@ -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
---
<!DOCTYPE HTML>
<html lang="en-US">
<!-- Specify the parent of this project (or delete if none) to influence the rendering of the breadcrumb -->
{% 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.
<span id="quick-start"></span>
## 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 %}
</html>