summaryrefslogtreecommitdiffstats
path: root/deployment
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-10-11 14:25:40 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-10-11 14:25:40 +0530
commitfd560d8bdad53456351950f57a6fd07323d0d35e (patch)
treeba1e30b2b34c0b68bc396cf5a3f0fc34ee9fb4e6 /deployment
parenta5786e5c052cf930ea9fcd44ce95705dc7e268b4 (diff)
Update index.html with installation steps
CLI-2 Change-Id: Ia06720ff79a96c742907ad6393f0865e93191642 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'deployment')
-rw-r--r--deployment/http/web/index.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/deployment/http/web/index.html b/deployment/http/web/index.html
index 7bc18034..9eece011 100644
--- a/deployment/http/web/index.html
+++ b/deployment/http/web/index.html
@@ -15,6 +15,28 @@ function redirectToConsole(){
<h2><a id="Download_42"></a>To download</h2>
<p style="color:red">Please download ONAP CLI <a href="./onap-cli.zip">here</a></p>
+<h3><a id="Download_42"></a>To install</h3>
+<p>Please follow the instructions given below for installing ONAP CLI.</p>
+<ol>
+<li>Un-zip the above download file into <b>/opt/onap/cli folder</b></li>
+<li>Run the following commands:
+<br>export ONAP_CLI_HOME=$CLI_INSTALL_DIR
+<br>export CLI_PRODUCT_VERSION=onap-1.1
+<br>
+<br>cd $CLI_INSTALL_DIR
+<br>
+<br>if [ ! -d ./data ]; then mkdir ./data; fi
+<br>if [ ! -d ./onap-cli-schema ]; then mkdir ./onap-cli-schema; fi
+<br>
+<br>chmod +x ./bin/onap.sh
+<br>
+<br>#Make onap available in path
+<br>ln ./bin/onap.sh $CLI_BIN
+<br>
+<br>#Print the version
+<br>onap -v</li>
+</ol>
+
<h2><a id="Console_42"></a>Web Command console</h2>
<p style="color:blue">To open Console, Click <img src="./onap-cli.png" alt="Web Command console" style="width:30px;height:22px;" onclick="redirectToConsole();"> </p>