Skip to content

Commit fb7d9c4

Browse files
committed
docs(client): update docs with preferred deis CLI install method
1 parent 74a018a commit fb7d9c4

5 files changed

Lines changed: 34 additions & 23 deletions

File tree

client/README.rst

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,15 @@ you used to provision the server. You can make a symlink or shell alias for
8080
$ deis
8181
Usage: deis <command> [<args>...]
8282
83-
If you don't have Python_ installed, you can download a binary executable
84-
version of the Deis client for Mac OS X, Linux amd64, or Windows:
83+
If you don't have Python_, install the latest `deis` binary executable for
84+
Linux or Mac OS X with this command:
8585

86-
- https://s3-us-west-2.amazonaws.com/opdemand/deis-0.13.0-dev-darwin.tgz
87-
- https://s3-us-west-2.amazonaws.com/opdemand/deis-0.13.0-dev-linux.tgz
88-
- https://s3-us-west-2.amazonaws.com/opdemand/deis-0.13.0-dev-win64.tgz
86+
.. code-block:: console
87+
88+
$ curl -sSL http://deis.io/deis-cli/install.sh | sh
89+
90+
The installer puts `deis` in your current directory, but you should move it
91+
somewhere in your $PATH.
8992

9093

9194
2. `Register a User`_:

deisctl/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ To install the latest `deisctl` on Linux or Mac OS X, run this command:
1212
$ curl -sSL http://deis.io/deisctl/install.sh | sh
1313
```
1414

15-
The installer puts `deisctl` in */usr/local/bin* and downloads current Deis unit files
16-
to */var/lib/deis/units* one time.
15+
The installer puts `deisctl` in your current directory and downloads current Deis unit files
16+
to *$HOME/.deis/units* one time. You should move `deisctl` somewhere in your $PATH.
1717

1818
To change installation options, save the installer directly from one of these links:
1919

docs/installing_deis/register-admin-user.rst

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,15 @@ you used to provision the server. You can make a symlink or shell alias for
2424
$ deis
2525
Usage: deis <command> [<args>...]
2626
27-
If you don't have Python_ installed, you can download a binary executable
28-
version of the Deis client for Mac OS X, Linux amd64, or Windows:
27+
If you don't have Python_, install the latest `deis` binary executable for
28+
Linux or Mac OS X with this command:
2929

30-
- https://s3-us-west-2.amazonaws.com/opdemand/deis-0.13.0-dev-darwin.tgz
31-
- https://s3-us-west-2.amazonaws.com/opdemand/deis-0.13.0-dev-linux.tgz
32-
- https://s3-us-west-2.amazonaws.com/opdemand/deis-0.13.0-dev-win64.tgz
30+
.. code-block:: console
31+
32+
$ curl -sSL http://deis.io/deis-cli/install.sh | sh
3333
34+
The installer puts `deis` in your current directory, but you should move it
35+
somewhere in your $PATH.
3436

3537
Register a User
3638
---------------

docs/using_deis/install-client.rst

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,15 @@ you used to provision the server. You can make a symlink or shell alias for
2222
$ deis
2323
Usage: deis <command> [<args>...]
2424
25-
If you don't have Python_ installed, you can download a binary executable
26-
version of the Deis client for Mac OS X, Linux amd64, or Windows:
25+
If you don't have Python_, install the latest `deis` binary executable for
26+
Linux or Mac OS X with this command:
2727

28-
- https://s3-us-west-2.amazonaws.com/opdemand/deis-0.13.0-dev-darwin.tgz
29-
- https://s3-us-west-2.amazonaws.com/opdemand/deis-0.13.0-dev-linux.tgz
30-
- https://s3-us-west-2.amazonaws.com/opdemand/deis-0.13.0-dev-win64.tgz
28+
.. code-block:: console
29+
30+
$ curl -sSL http://deis.io/deis-cli/install.sh | sh
3131
32-
Extract the ``deis`` binary and place it in your workstation path.
32+
The installer puts `deis` in your current directory, but you should move it
33+
somewhere in your $PATH.
3334

3435
Proxy Support
3536
-------------

tests/bin/test-latest.sh

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,22 @@ log_phase "Running test-latest on $DEIS_TEST_APP"
2222

2323
log_phase "Installing clients"
2424

25-
# FIXME: switch to deis CLI install from website
26-
make -C client build
25+
# install deis CLI from http://deis.io/ website
26+
pushd $DEIS_ROOT/deisctl
27+
curl -sSL http://deis.io/deis-cli/install.sh | sh -s v0.13.0-dev
28+
popd
2729

28-
# install latest deisctl from the website
29-
curl -sSL http://deis.io/deisctl/install.sh | sh
30+
# install deisctl from http://deis.io/ website
31+
# installs latest unit files to $HOME/.deis/units
32+
pushd $DEIS_ROOT/client
33+
curl -sSL http://deis.io/deisctl/install.sh | sh -s v0.13.0-dev
34+
popd
3035

3136
# ensure we use distributed unit files
3237
unset DEISCTL_UNITS
3338

3439
# use the built client binaries
35-
export PATH=$DEIS_ROOT/deisctl:$DEIS_ROOT/client/dist:$PATH
40+
export PATH=$DEIS_ROOT/deisctl:$DEIS_ROOT/client:$PATH
3641

3742
log_phase "Provisioning 3-node CoreOS"
3843

0 commit comments

Comments
 (0)