summaryrefslogtreecommitdiffstats
path: root/docs/installation_guide.rst
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-10-11 14:26:59 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-10-11 14:26:59 +0530
commit7d4b1876b84bc933d335bcac974bcf4230859ef6 (patch)
tree8290e4c601357d3d79aa182b26effa2d40f324ae /docs/installation_guide.rst
parentfd560d8bdad53456351950f57a6fd07323d0d35e (diff)
Add installation guide
CLI-40 Change-Id: Id383a2bb652525c481c01d6da8512de70fda5b19 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'docs/installation_guide.rst')
-rw-r--r--docs/installation_guide.rst76
1 files changed, 75 insertions, 1 deletions
diff --git a/docs/installation_guide.rst b/docs/installation_guide.rst
index 3a55e578..8f7f2503 100644
--- a/docs/installation_guide.rst
+++ b/docs/installation_guide.rst
@@ -4,4 +4,78 @@
.. Copyright 2017 Huawei Technologies Co., Ltd.
CLI installation guide
-====================== \ No newline at end of file
+======================
+
+ONAP CLI is delivered in following formats:
+
+* Nexus ZIP artifact
+* Docker image
+
+And tt could be installed by following one of the approaches given below:
+
+Using install.sh
+----------------
+
+Please follow the instructions given below, for installing CLI using install.sh.
+
+1. Download install.sh from here_. to /tmp
+
+.. _here: https://gerrit.onap.org/r/gitweb?p=cli.git;a=blob_plain;f=deployment/zip/installer/install.sh;hb=refs/heads/master
+
+2. Run command::
+
+ source /tmp/install.sh
+
+3. Verify the installation by running following command::
+
+ onap -v
+
+4. For more details, please refer user_guide_.
+
+
+Using Portal CLI app
+--------------------
+
+Please follow the instructions given below, for installing CLI from portal.
+
+1. After installing Portal, ONAP CLI will be available as Portal application as shown below:
+
+|image0|
+
+.. |image0| image:: images/portal-cli-app.png
+ :height: 600px
+ :width: 800px
+
+2. Click on CLI application and it will show the following page and download the CLI as reported in this page.
+
+|image1|
+
+.. |image1| image:: images/portal-cli-dowload.png
+ :height: 600px
+ :width: 800px
+
+3. After downloading, please follow the instruction given in this page to install ONAP CLI.
+
+4. Verify the installation by running following command::
+
+ onap -v
+
+5. For more details, please refer user_guide_.
+
+Using docker image
+-----------------
+
+Please follow the instructions given below, for installing CLI using docker image.
+
+1. Download the cli docker image::
+
+ docker login -u docker -p docker nexus3.onap.org:10001
+ docker pull nexus3.onap.org:10001/onap/cli
+
+2. Verify the installation by running following command::
+
+ docker run onap/cli onap -v
+
+3. For more details, please refer user_guide_.
+
+