mirror of
https://gitee.com/dcren/initializr.git
synced 2025-07-16 07:59:42 +08:00
Merge pull request #3 from indyaah/master
* pull3: Changes for install.sh to point to correct URL and file. Broken Links Updated In README.md for installation instructions.
This commit is contained in:
commit
2d72bdcc27
@ -12,7 +12,7 @@ It will install `/usr/local/bin/spring`. You can jump right to [running the app]
|
||||
|
||||
An alternative way to install the `spring` command line interface can be installed like this:
|
||||
|
||||
$ curl spring.cfapps.io/installer | bash
|
||||
$ curl start.spring.io/install.sh | bash
|
||||
|
||||
After running that command you should see a `spring` directory:
|
||||
|
||||
@ -27,7 +27,7 @@ assume you did that).
|
||||
|
||||
If you don't have `curl` or `zip` you can probably get them (for
|
||||
Windoze users we recommend [cygwin](http://cygwin.org)), or you can
|
||||
download the [zip file](http://spring.cfapps.io/spring.zip) and unpack
|
||||
download the [zip file](http://start.spring.io/spring.zip) and unpack
|
||||
it yourself.
|
||||
|
||||
<a name="running_the_app"></a>
|
||||
|
@ -3,7 +3,7 @@
|
||||
set -e
|
||||
# set -x
|
||||
|
||||
VERSION="0.5.0.M4"
|
||||
VERSION="1.0.0.RC1"
|
||||
if [ -z "${PREFIX}" ]; then
|
||||
PREFIX="/usr/local/bin"
|
||||
fi
|
||||
@ -14,7 +14,7 @@ if [ -z "${JAR_FILE}" ]; then
|
||||
echo "Downloading spring ${VERSION} distribution"
|
||||
echo
|
||||
|
||||
JAR_URL="https://repo.springsource.org/milestone/org/springframework/boot/spring-boot-cli/${VERSION}/spring-boot-cli-${VERSION}-dist.zip"
|
||||
JAR_URL="https://repo.spring.io/milestone/org/springframework/boot/spring-boot-cli/${VERSION}/spring-boot-cli-${VERSION}-bin.zip"
|
||||
curl --progress-bar --fail "$JAR_URL" -o "$JAR_FILE"
|
||||
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user