github.com/greenboxal/deis@v1.12.1/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 .. _register-user: 5 6 Register a User 7 =============== 8 To use Deis, you must first register a user on the :ref:`Controller`. 9 10 Register with a Controller 11 -------------------------- 12 Use ``deis register`` with the :ref:`Controller` URL (supplied by your Deis administrator) 13 to create a new account. You will be logged in automatically. 14 15 The domain you use here should match the one you set with ``deisctl config platform set domain=``. 16 Note that you always use ``deis.<domain>`` to communicate with the controller. 17 18 .. code-block:: console 19 20 $ deis register http://deis.example.com 21 username: myuser 22 password: 23 password (confirm): 24 email: myuser@example.com 25 Registered myuser 26 Logged in as myuser 27 28 .. note:: 29 30 For Vagrant clusters: ``deis register http://deis.local3.deisapp.com`` 31 32 .. note:: 33 34 The subdomain can be customized by using ``deisctl config controller set subdomain=foo``. The 35 router will then route requests from ``foo.<domain>`` to the controller. See 36 :ref:`controller_settings` for more info on how to customize the controller. 37 38 .. important:: 39 40 The first user to register with Deis receives "superuser" privileges. Additional users who 41 register will be ordinary users. It's also possible to disable user registration after creating 42 the superuser account. For details, see :ref:`disable_user_registration`. 43 44 Upload Your SSH Public Key 45 -------------------------- 46 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: 47 48 * ~/.ssh/id_rsa.pub 49 * ~/.ssh/id_dsa.pub 50 51 .. code-block:: console 52 53 $ deis keys:add 54 Found the following SSH public keys: 55 1) id_rsa.pub 56 Which would you like to use with Deis? 1 57 Uploading /Users/myuser/.ssh/id_rsa.pub to Deis... done 58 59 Logout from a Controller 60 ------------------------ 61 Logout of an existing controller session using ``deis logout``. 62 63 .. code-block:: console 64 65 $ deis logout 66 Logged out as deis 67 68 Login to a Controller 69 --------------------- 70 If you already have an account, use ``deis login`` to authenticate against the Deis :ref:`Controller`. 71 72 .. code-block:: console 73 74 $ deis login http://deis.example.com 75 username: deis 76 password: 77 Logged in as deis 78 79 .. note:: 80 81 For Vagrant clusters: ``deis login http://deis.local3.deisapp.com`` 82 83 .. note:: 84 85 Deis session information is stored in your user's ~/.deis directory.