If you are beginning your journey with Senzing, please start with Senzing Quick Start guides.
You are in the Senzing Garage where projects are "tinkered" on. Although this GitHub repository may help you understand an approach to using Senzing, it's not considered to be "production ready" and is not considered to be part of the Senzing product. Heck, it may not even be appropriate for your application of Senzing!
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.
demo-quickstart
is a command in the senzing-tools suite of tools.
This command creates an environment for exploring Senzing.
demo-quickstart
starts the Senzing gRPC server and HTTP server for use in Senzing exploration.
Senzing SDKs for accessing the gRPC server:
- Go: sz-sdk-go-grpc
- Python: sz-sdk-python-grpc
A simple demonstration using senzing-tools
and a SQLite database.
export LD_LIBRARY_PATH=/opt/senzing/er/lib/
export SENZING_TOOLS_DATABASE_URL=sqlite3://na:na@/tmp/sqlite/G2C.db
senzing-tools init-database
senzing-tools demo-quickstart
Then visit localhost:8261
- The
demo-quickstart
command is installed with the senzing-tools suite of tools. See senzing-tools install.
export LD_LIBRARY_PATH=/opt/senzing/er/lib/
senzing-tools demo-quickstart [flags]
-
For options and flags:
-
Runtime documentation:
export LD_LIBRARY_PATH=/opt/senzing/er/lib/ senzing-tools demo-quickstart --help
-
In addition to the following simple usage examples, there are additional Examples.
-
✏️ Specify database using command line option. Example:
export LD_LIBRARY_PATH=/opt/senzing/er/lib/ senzing-tools demo-quickstart \ --database-url postgresql://username:password@postgres.example.com:5432/G2 \
-
Visit localhost:8261
-
Run
senzing-tools demo-quickstart --help
or see Parameters for additional parameters.
-
✏️ Specify database using environment variable. Example:
export LD_LIBRARY_PATH=/opt/senzing/er/lib/ export SENZING_TOOLS_DATABASE_URL=postgresql://username:password@postgres.example.com:5432/G2 senzing-tools demo-quickstart
-
Visit localhost:8261
-
Run
senzing-tools demo-quickstart --help
or see Parameters for additional parameters.
This usage shows how to initialize a database with a Docker container.
-
This usage specifies a URL of an external database. Example:
docker run \ --publish 8260:8260 \ --publish 8261:8261 \ --rm \ senzing/senzing-tools demo-quickstart
-
Visit localhost:8261
-
See Parameters for additional parameters.