@@ -9,20 +9,20 @@ Install deisctl
99The Deis Control Utility, or ``deisctl `` for short, is a command-line client used to configure and
1010manage the Deis Platform.
1111
12- Building from Installer
13- -----------------------
12+ Run the Installer
13+ -----------------
1414
15- To install the latest version of deisctl, change to the directory where you would like to install
16- the binary. Then, install the Deis Control Utility by downloading and running the install script
17- with the following command:
15+ Change to the directory where you would like the ``deisctl `` binary to be installed, then download
16+ and run the latest installer:
1817
1918.. code-block :: console
2019
2120 $ cd ~/bin
2221 $ curl -sSL http://deis.io/deisctl/install.sh | sh -s 1.0.1
2322
24- This installs deisctl to the current directory, and refreshes the Deis systemd unit files used to
25- schedule the components. Link it to /usr/local/bin, so it will be in your PATH:
23+ This installs ``deisctl `` version 1.0.1 to the current directory, and downloads the matching
24+ Deis systemd unit files used to schedule the components. Link ``deisctl `` into /usr/local/bin, so
25+ it will be in your ``$PATH ``:
2626
2727.. code-block :: console
2828
@@ -44,22 +44,12 @@ are available.
4444 Always use a version of ``deisctl `` that matches the Deis release.
4545 Verify this with ``deisctl --version ``.
4646
47- Builds are hosted on an S3 bucket at this URL format:
48-
49- ``https://s3-us-west-2.amazonaws.com/opdemand/deisctl-<VERSION>-<darwin|linux>-amd64.run ``
50-
51- For example, the deisctl release for Deis version 1.0.1 can be downloaded here:
52-
53- .. image :: download-linux-brightgreen.svg
54- :target: https://s3-us-west-2.amazonaws.com/opdemand/deisctl-1.0.1-linux-amd64.run
55-
56- .. image :: download-osx-brightgreen.svg
57- :target: https://s3-us-west-2.amazonaws.com/opdemand/deisctl-1.0.1-darwin-amd64.run
5847
5948Building from Source
6049--------------------
6150
62- If you want to install from source, ensure you have `godep `_ installed and run:
51+ To build ``deisctl `` locally, first :ref: `get the source <get_the_source >`, ensure
52+ you have `godep `_ installed, and run:
6353
6454.. code-block :: console
6555
@@ -71,5 +61,11 @@ You can then move or link the client so it will be in your path:
7161
7262 $ sudo ln -fs $PWD/deisctl/deisctl /usr/local/bin/deisctl
7363
64+ .. note ::
65+
66+ Remember to run ``deisctl refresh-units `` or to set ``$DEISCTL_UNITS `` to an appropriate
67+ directory if you do not use the ``deisctl `` installer. Run the command
68+ ``deisctl help refresh-units `` for more information.
69+
7470
7571.. _`godep` : https://github.com/tools/godep
0 commit comments