At the moment, this is "work-in-progress" with Semantic Versions of 0.n.x.
Although it can be reviewed and commented on,
the recommendation is not to use it yet.
init-database is a command in the
senzing-tools
suite of tools.
This command initialize databases with a Senzing schema and a default Senzing configuration.
init-database performs the following:
PIPELINE.RESOURCEPATH value.PIPELINE.RESOURCEPATH value.init-database command is installed with the
senzing-tools
suite of tools.
See senzing-tools install.export LD_LIBRARY_PATH=/opt/senzing/g2/lib/
senzing-tools init-database [flags]
For options and flags:
Runtime documentation:
export LD_LIBRARY_PATH=/opt/senzing/g2/lib/
senzing-tools init-database --help
In addition to the following simple usage examples, there are additional Examples.
:pencil2: Specify database using command line option. Example:
export LD_LIBRARY_PATH=/opt/senzing/g2/lib/
senzing-tools init-database \
--database-url postgresql://username:[email protected]:5432/G2
See Parameters for additional parameters.
:pencil2: Specify database using environment variable. Example:
export SENZING_TOOLS_DATABASE_URL=postgresql://username:[email protected]:5432/G2
export LD_LIBRARY_PATH=/opt/senzing/g2/lib/
senzing-tools init-database
See Parameters for additional parameters.
This usage shows how to initialze a database with a Docker container.
:pencil2: Run senzing/senzing-tools.
Example:
docker run \
--env SENZING_TOOLS_COMMAND=init-database \
--env SENZING_TOOLS_DATABASE_URL=postgresql://username:[email protected]:5432/G2 \
--rm \
senzing/senzing-tools
See Parameters for additional parameters.
Content type
Image
Digest
sha256:884a47df1…
Size
370.3 MB
Last updated
1 day ago
docker pull senzing/init-database