github.com/technosophos/deis@v1.7.1-0.20150915173815-f9005256004b/docs/_includes/_get-the-source.rst (about)

     1  The `source code`_ for Deis must be on your workstation to run the commands in
     2  this documentation. Download an archive file from the `releases page`_, or use
     3  ``git`` to clone the repository:
     4  
     5  .. code-block:: console
     6  
     7      $ git clone https://github.com/deis/deis.git
     8      $ cd deis
     9      $ git checkout v1.10.0
    10  
    11  Check out the latest Deis release, rather than using the default (master).
    12  
    13  If you contribute to Deis or build components locally, use ``go get`` instead to
    14  clone the source code into your `$GOPATH`_:
    15  
    16  .. code-block:: console
    17  
    18      $ go get -u -v github.com/deis/deis
    19      $ cd $GOPATH/src/github.com/deis/deis
    20  
    21  Additionally, you'll need the ``deisctl`` CLI tool. If you don't already have it,
    22  install instructions are :ref:`here <install_deisctl>`.
    23  
    24  .. _`source code`: https://github.com/deis/deis
    25  .. _`releases page`: https://github.com/deis/deis/releases
    26  .. _`$GOPATH`: http://golang.org/doc/code.html#GOPATH