mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Alias for spring-cli now uses wget
This commit is contained in:
parent
413658fbca
commit
a51e064f56
12
README.md
12
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
|
||||
|
@ -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
|
||||
---
|
||||
|
Loading…
Reference in New Issue
Block a user