Add initial gh-pages
This commit is contained in:
14
_config.yml
14
_config.yml
@@ -10,24 +10,24 @@ redcarpet:
|
|||||||
### The following properties will change on a project-by-project basis
|
### 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
|
# Context path in the remote website (usually /<project>), will be prepended to absolute URLs for static resources
|
||||||
baseurl: /gh-pages
|
baseurl: /spring-cloud-cli
|
||||||
|
|
||||||
# Name of the project for display in places like page titles
|
# Name of the project for display in places like page titles
|
||||||
name: Spring Framework
|
name: Spring Cloud CLI
|
||||||
|
|
||||||
# ID of the project in the metadata API at spring.io (if this is not a
|
# 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)
|
# valid project ID the javascript widgets in the home page will not work)
|
||||||
project: spring-framework
|
project: spring-cloud-cli
|
||||||
|
|
||||||
# Project github URL
|
# Project github URL
|
||||||
github_repo_url: http://github.com/spring-projects/spring-framework
|
github_repo_url: http://github.com/spring-cloud/spring-cloud-cli
|
||||||
|
|
||||||
# Project forum URL
|
# 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
|
# 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_pom_template: true
|
||||||
custom_gradle_template: false
|
custom_gradle_template: true
|
||||||
|
|
||||||
|
|
||||||
### The following properties are constant for most projects
|
### The following properties are constant for most projects
|
||||||
|
|||||||
92
index.html
Normal file
92
index.html
Normal file
@@ -0,0 +1,92 @@
|
|||||||
|
---
|
||||||
|
# The name of your project
|
||||||
|
title: Spring Cloud CLI
|
||||||
|
|
||||||
|
badges:
|
||||||
|
|
||||||
|
# Specify your project's twitter handle, if any. Delete if none.
|
||||||
|
# twitter: SpringData
|
||||||
|
|
||||||
|
# Customize your project's badges. Delete any entries that do not apply.
|
||||||
|
custom:
|
||||||
|
- name: Source (GitHub)
|
||||||
|
url: https://github.com/spring-cloud/spring-cloud-cli
|
||||||
|
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 Parent]({{ site.projects_site_url }}/spring-cloud)
|
||||||
|
{% endcapture %}
|
||||||
|
|
||||||
|
|
||||||
|
{% capture billboard_description %}
|
||||||
|
|
||||||
|
Spring Cloud CLI is a set of extensions for the
|
||||||
|
[Spring Boot CLI](http://docs.spring.io/spring-boot) making it possible
|
||||||
|
to write Spring Cloud apps in Groovy scripts and run them from a
|
||||||
|
shell. Auto-imports and dependency management is provided for all
|
||||||
|
Spring Cloud projects.
|
||||||
|
|
||||||
|
{% endcapture %}
|
||||||
|
|
||||||
|
{% capture main_content %}
|
||||||
|
|
||||||
|
<span id="quick-start"></span>
|
||||||
|
## Quick Start
|
||||||
|
|
||||||
|
Any Spring Boot CLI app with the Cloud CLI extensions installed will
|
||||||
|
be a Spring Cloud Config Client, so set the `spring.cloud.config.uri`
|
||||||
|
to point to a Config Server and you are in business (defaults to
|
||||||
|
"http://localhost:8888").
|
||||||
|
|
||||||
|
Here's a complete Eureka Server:
|
||||||
|
|
||||||
|
```groovy
|
||||||
|
@EnableEurekaServer
|
||||||
|
@RestController
|
||||||
|
class Eureka {}
|
||||||
|
```
|
||||||
|
|
||||||
|
To install the CLI, make
|
||||||
|
sure you have
|
||||||
|
[Spring Boot CLI](https://github.com/spring-projects/spring-boot)
|
||||||
|
(1.2.0.RC1 or better):
|
||||||
|
|
||||||
|
$ spring version
|
||||||
|
Spring CLI v1.2.0.RC1
|
||||||
|
|
||||||
|
E.g. for GVM users
|
||||||
|
|
||||||
|
```
|
||||||
|
$ gvm install springboot 1.2.0.RC1
|
||||||
|
$ gvm use springboot 1.2.0.RC1
|
||||||
|
```
|
||||||
|
|
||||||
|
and install the Spring Cloud plugin:
|
||||||
|
|
||||||
|
```
|
||||||
|
$ mvn install
|
||||||
|
$ spring install org.springframework.cloud:spring-cloud-cli:1.0.0.BUILD-SNAPSHOT
|
||||||
|
```
|
||||||
|
|
||||||
|
{% endcapture %}
|
||||||
|
|
||||||
|
{% capture related_resources %}
|
||||||
|
|
||||||
|
### Sample Projects
|
||||||
|
|
||||||
|
* [Minimal (Groovy) Client](https://github.com/spring-cloud-samples/scripts/blob/master/demo/client.groovy)
|
||||||
|
|
||||||
|
{% endcapture %}
|
||||||
|
|
||||||
|
|
||||||
|
{% include project_page.html %}
|
||||||
|
</html>
|
||||||
Reference in New Issue
Block a user