Skip to content

Commit

Permalink
#15 Updated Volumes section
Browse files Browse the repository at this point in the history
  • Loading branch information
docktermj committed Feb 24, 2020
1 parent a4ef909 commit fbe056b
Showing 1 changed file with 22 additions and 12 deletions.
34 changes: 22 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand Down

0 comments on commit fbe056b

Please sign in to comment.