From fbe056bb2eb416c8d5bc704c889f341e1cf23ad9 Mon Sep 17 00:00:00 2001 From: Michael Dockter Date: Mon, 24 Feb 2020 10:14:59 -0500 Subject: [PATCH] #15 Updated Volumes section --- README.md | 34 ++++++++++++++++++++++------------ 1 file changed, 22 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index ee5637e..f5760a1 100644 --- a/README.md +++ b/README.md @@ -64,25 +64,35 @@ Configuration values specified by environment variable or command line parameter ### Volumes -:thinking: -The Db2 driver may be placed in any directory. - -1. **Example #1:** - To mimic an actual RPM installation, - identify directories for RPM output in this manner: +1. :pencil2: Specify the directory containing the Senzing installation. + Use the same `SENZING_VOLUME` value used when performing + "[How to initialize Senzing with Docker](https://github.com/Senzing/knowledge-base/blob/master/HOWTO/initialize-senzing-with-docker.md)". + Example: ```console - export SENZING_OPT_IBM_DIR=/opt/IBM + export SENZING_VOLUME=/opt/my-senzing ``` -1. :pencil2: **Example #2:** - If Senzing directories were put in alternative directories, - set environment variables to reflect where the directories were placed. + 1. Here's a simple test to see if `SENZING_VOLUME` is correct. + The following commands should return file contents. + Example: + + ```console + cat ${SENZING_VOLUME}/g2/g2BuildVersion.json + cat ${SENZING_VOLUME}/data/1.0.0/libpostal/data_version + ``` + + 1. :warning: + **macOS** - [File sharing](https://github.com/Senzing/knowledge-base/blob/master/HOWTO/share-directories-with-docker.md#macos) + must be enabled for `SENZING_VOLUME`. + 1. :warning: + **Windows** - [File sharing](https://github.com/Senzing/knowledge-base/blob/master/HOWTO/share-directories-with-docker.md#windows) + must be enabled for `SENZING_VOLUME`. + +1. Specify directory for IBM DB2 drivers. Example: ```console - export SENZING_VOLUME=/opt/my-senzing - export SENZING_OPT_IBM_DIR=${SENZING_VOLUME}/opt-ibm ```