From a51e064f563d2f0d1215fbca82c5b6ecc46aec2d Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Fri, 2 Aug 2013 14:24:57 +0100 Subject: [PATCH] Alias for spring-cli now uses wget --- README.md | 12 ++++++------ spring-boot/README.md | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 8ea19130dd1..f78578c66bd 100644 --- a/README.md +++ b/README.md @@ -78,8 +78,12 @@ should check your current Java installation before you begin: $ java -version -Complete installation instructions TBD. For now you can -[build from source](#building-from-source). +Spring Boot CLI can be downloaded from our Maven repository, and then you can use a shell `alias` for the Spring Boot command line tool: + + $ wget http://repo.springframework.org/milestone/org/springframework/boot/spring-boot-cli/0.5.0.M1/spring-boot-cli-0.5.0.M1.jar + $ alias spring="java -jar `pwd`/spring-cli-0.5.0.M1.jar" + +Complete installation including a downloadable `.zip` with a shell script TBD. ## Building from source Spring Boot can be [built with maven](http://maven.apache.org/run-maven/index.html) v3.0 @@ -87,10 +91,6 @@ or above. $ mvn clean install -You can use an `alias` for the Spring Boot command line tool: - - $ alias spring="java -jar ~/.m2/repository/org/springframework/boot/spring-cli/0.5.0.BUILD-SNAPSHOT/spring-cli-0.5.0.BUILD-SNAPSHOT.jar" - _Also see [CONTRIBUTING.md](CONTRIBUTING.md) if you wish to submit pull requests._ ## Spring Boot Modules diff --git a/spring-boot/README.md b/spring-boot/README.md index d9e52782f73..91efecd3fe3 100644 --- a/spring-boot/README.md +++ b/spring-boot/README.md @@ -269,7 +269,7 @@ environments.prod.name=My Cool App Would be transformed into these properties: -``` +```text servers=dev.bar.com,foo.bar.com servers[0]=dev.bar.com servers[1]=foo.bar.com @@ -283,7 +283,7 @@ syntax to access YAML properties. You can also specify multiple profile-specific YAML document in a single file by by using a `spring.profiles` key to indicate when the document applies. For example: -``` +```yaml server: address: 192.168.1.100 ---