mirror of
https://gitee.com/dcren/initializr.git
synced 2025-11-08 18:34:58 +08:00
Update versions
This commit is contained in:
@@ -48,7 +48,7 @@ Alternatively, download a suitable binary for your platform from [Pivotal Web Se
|
||||
To help avoid a timeout on startup you should upload all the dependencies.
|
||||
You can get those locally by running `spring grab`:
|
||||
|
||||
$ spring grab app.groovy
|
||||
$ spring jar app.groovy
|
||||
|
||||
this will create a local directory `repository/` with all the jar dependencies.
|
||||
Then when you `cf push` they will be uploaded and used.
|
||||
@@ -56,3 +56,8 @@ Then when you `cf push` they will be uploaded and used.
|
||||
An example Cloud Foundry `manifest.yml` file is provided. You should ensure that
|
||||
the application name and URL (name and host values) are suitable for your environment
|
||||
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:
|
||||
|
||||
$ spring jar --include '+templates/*.groovy,+spring/**' --exclude '-**/*.groovy,-**/*.jar,start.jar' start.jar app.groovy
|
||||
$ cf push -p start.jar -p start.jar -n start
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
info:
|
||||
project:
|
||||
name: Spring Start
|
||||
version: 0.1.0
|
||||
version: 0.2.0
|
||||
# remember to update static/install.sh as well:
|
||||
spring-boot:
|
||||
version: 1.1.0.RELEASE
|
||||
version: 1.1.1.RELEASE
|
||||
|
||||
projects:
|
||||
styles:
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
set -e
|
||||
# set -x
|
||||
|
||||
VERSION="1.1.0.RELEASE"
|
||||
VERSION="1.1.1.RELEASE"
|
||||
if [ -z "${PREFIX}" ]; then
|
||||
PREFIX="/usr/local/bin"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user