mirror of
https://gitee.com/dcren/initializr.git
synced 2025-04-05 17:38:06 +08:00
Update README with spring.zip and cf stuff
This commit is contained in:
parent
3849a7b5b9
commit
50ee4a5a91
@ -80,6 +80,8 @@ before running `cf push`.
|
||||
|
||||
Alternatively you can jar up the app and make it executable in any environment. Care is needed with the includes and excludes:
|
||||
|
||||
$ version=1.1.5.RELEASE
|
||||
$ wget -O spring.zip https://repo.spring.io/org/springframework/boot/spring-boot-cli/${version}/spring-boot-cli-${version}-bin.zip
|
||||
$ spring jar --include '+spring.zip' start.jar app.groovy
|
||||
$ cf push start -p start.jar -n start-<space>
|
||||
|
||||
@ -91,4 +93,3 @@ manifest that defaults it to `start-development`.
|
||||
If you are deploying the "legacy" service for STS in production:
|
||||
|
||||
$ cf push start-legacy -p start.jar -n start-legacy
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user