github.com/techend/deis@v1.0.1-0.20141111224634-e0eee0392b8a/docs/using_deis/register-user.rst (about)

     1  :title: Register a new Deis user using the client
     2  :description: First steps for developers using Deis to deploy and scale applications.
     3  
     4  
     5  Register a User
     6  ===============
     7  To use Deis, you must first register a user on the :ref:`Controller`.
     8  
     9  Register with a Controller
    10  --------------------------
    11  Use ``deis register`` with the :ref:`Controller` URL (supplied by your Deis administrator)
    12  to create a new account.  You will be logged in automatically.
    13  
    14  .. code-block:: console
    15  
    16      $ deis register http://deis.example.com
    17      username: myuser
    18      password:
    19      password (confirm):
    20      email: myuser@example.com
    21      Registered myuser
    22      Logged in as myuser
    23  
    24  .. important::
    25  
    26      The first user to register with Deis receives "superuser" privileges.
    27  
    28  Upload Your SSH Public Key
    29  --------------------------
    30  If you plan on using ``git push`` to deploy applications to Deis, you must provide your SSH public key.  Use the ``deis keys:add`` command to upload your default SSH public key, usually one of:
    31  
    32   * ~/.ssh/id_rsa.pub
    33   * ~/.ssh/id_dsa.pub
    34  
    35  .. code-block:: console
    36  
    37      $ deis keys:add
    38      Found the following SSH public keys:
    39      1) id_rsa.pub
    40      Which would you like to use with Deis? 1
    41      Uploading /Users/myuser/.ssh/id_rsa.pub to Deis... done
    42  
    43  Logout from a Controller
    44  ------------------------
    45  Logout of an existing controller session using ``deis logout``.
    46  
    47  .. code-block:: console
    48  
    49      $ deis logout
    50      Logged out as deis
    51  
    52  Login to a Controller
    53  ---------------------
    54  If you already have an account, use ``deis login`` to authenticate against the Deis :ref:`Controller`.
    55  
    56  .. code-block:: console
    57  
    58      $ deis login http://deis.example.com
    59      username: deis
    60      password:
    61      Logged in as deis
    62  
    63  .. note::
    64  
    65      Deis session information is stored in your user's ~/.deis directory.