Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#15 Updated Volumes section #17

Merged
merged 1 commit into from
Feb 24, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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