summaryrefslogtreecommitdiffstats
path: root/docs/installation.rst
diff options
context:
space:
mode:
authorShashank Kumar Shankar <shashank.kumar.shankar@intel.com>2018-03-28 11:04:06 -0700
committerShashank Kumar Shankar <shashank.kumar.shankar@intel.com>2018-03-28 11:13:55 -0700
commit9434f17d531a418a4314436e315c074fc8573135 (patch)
tree4d5e2d2c4c0876f533076d1643029713952f0c6c /docs/installation.rst
parent749870b8ce9dddd09e98a65fc4c57b295880c8bd (diff)
Add documentation for Read the docs
This patch adds basic documentation for Read the Docs generaiton. Change-Id: Iceea0034de1488ed07c8623adab520dd149468a3 Issue-ID: MUSIC-62 Signed-off-by: Shashank Kumar Shankar <shashank.kumar.shankar@intel.com>
Diffstat (limited to 'docs/installation.rst')
-rw-r--r--docs/installation.rst32
1 files changed, 32 insertions, 0 deletions
diff --git a/docs/installation.rst b/docs/installation.rst
new file mode 100644
index 0000000..24fa5c4
--- /dev/null
+++ b/docs/installation.rst
@@ -0,0 +1,32 @@
+.. This work is licensed under a Creative Commons Attribution 4.0 International License.
+.. http://creativecommons.org/licenses/by/4.0
+
+Installation
+============
+
+As for current release, project is packaged as a single Docker Container. For subsequent
+releases, it will be integrated with OOM.
+
+.. code-block:: console
+
+ # Set Datastore as Consul
+ DATASTORE="consul"
+ # Set IP address of where Consul is running
+ DATASTORE_IP="localhost"
+ # Set mountpath inside the container where persistent data is stored.
+ MOUNTPATH="/dkv_mount_path/configs/"
+ # Place all Config data which needs to be loaded in default directory.
+ DEFAULT_CONFIGS=$(pwd)/mountpath/default
+ # Create the directories.
+ mkdir -p mountpath/default
+ # Login to Nexus.
+ docker login -u docker -p docker nexus3.onap.org:10001
+ # Pull distributed-kv-store image.
+ docker pull nexus3.onap.org:10001/onap/music/distributed-kv-store
+ # Run the distributed-kv-store image.
+ docker run -e DATASTORE=$DATASTORE -e DATASTORE_IP=$DATASTORE_IP -e MOUNTPATH=$MOUNTPATH -d \
+ --name dkv \
+ -v $DEFAULT_CONFIGS:/dkv_mount_path/configs/default \
+ -p 8200:8200 -p 8080:8080 nexus3.onap.org:10001/onap/music/distributed-kv-store
+
+.. end