From d6737e18164f8d8d627ef43b75218e46b3f59b5e Mon Sep 17 00:00:00 2001 From: Stavros Sachtouris Date: Mon, 17 Dec 2012 20:07:33 +0200 Subject: [PATCH] Help user initial kamaki setup (docs and defaults) --- docs/setup.rst | 23 +++++++++++++++++++++++ kamaki/cli/config.py | 1 + 2 files changed, 24 insertions(+) diff --git a/docs/setup.rst b/docs/setup.rst index 559c063..f1a6810 100644 --- a/docs/setup.rst +++ b/docs/setup.rst @@ -3,6 +3,29 @@ Setup Kamaki is easy to install from source or as a package. Some ui features are optional and can be install separately. Kamaki behavior can be configured in the kamaki config file. +Quick Setup +----------- + +The set up settings of the present paragraph are the only ones needed to have kamaki up and running all its client services. + +It is essential for users to get a configuration token (okeanos.grnet.gr users go `here `_) and provide it to kamaki: + +.. code-block:: console + :emphasize-lines: 1 + + Example 1.1: Set user token to myt0k3n== + + $ kamaki set token myt0k3n== + +To use the storage service, a user should also provide the corresponding user-name: + +.. code-block:: console + :emphasize-lines: 1 + + Example 1.2: Set user name to user@domain.com + + $ kamaki set account user@domain.com + Optional features ----------------- diff --git a/kamaki/cli/config.py b/kamaki/cli/config.py index cfb893f..8c4a204 100644 --- a/kamaki/cli/config.py +++ b/kamaki/cli/config.py @@ -56,6 +56,7 @@ HEADER = """ DEFAULTS = { 'global': { 'colors': 'off', + 'account': '', 'token': '' }, 'config': { -- 1.7.10.4