Skip to content

Commit

Permalink
Merge pull request #12 from Senzing/issue-4.dockter.1
Browse files Browse the repository at this point in the history
Issue 4.dockter.1
  • Loading branch information
docktermj authored Nov 8, 2022
2 parents 03a5305 + 0b8950e commit 01439fe
Show file tree
Hide file tree
Showing 19 changed files with 1,800 additions and 376 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

-

## [0.2.0] - 2022-11-08

### Added to 0.2.0

- Entry/Exit tracing when log level is set to TRACE

## [0.1.0] - 2022-11-02

### Added to 0.1.0
Expand Down
9 changes: 9 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,15 @@ test:
# @go test -v ./g2engine
# @go test -v ./g2product


# -----------------------------------------------------------------------------
# Run
# -----------------------------------------------------------------------------

.PHONY: run
run:
@go run main.go

# -----------------------------------------------------------------------------
# Utility targets
# -----------------------------------------------------------------------------
Expand Down
22 changes: 12 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ the recommendation is not to use it yet.
The Senzing g2-sdk-go packages provide a Software Development Kit that wraps the
Senzing C SDK APIs.

[![GoReportCard example](https://goreportcard.com/badge/github.com/senzing/g2-sdk-go)](https://goreportcard.com/report/github.com/senzing/g2-sdk-go)
[![Go Report Card](https://goreportcard.com/badge/github.com/senzing/g2-sdk-go)](https://goreportcard.com/report/github.com/senzing/g2-sdk-go)
[![Go Reference](https://pkg.go.dev/badge/github.com/senzing/g2-sdk-go.svg)](https://pkg.go.dev/github.com/senzing/g2-sdk-go)

## Overview
Expand Down Expand Up @@ -50,13 +50,15 @@ This is important as the compiling of the code expects Senzing to be in `/opt/se

- Using Docker:

This technique can be handy if you are using MacOS or Windows and cross-compiling.

1. Build Senzing installer.

```console
curl -X GET \
--output /tmp/senzing-versions-latest.sh \
https://raw.githubusercontent.com/Senzing/knowledge-base/main/lists/senzing-versions-latest.sh
source /tmp/senzing-versions-latest.sh
--output /tmp/senzing-versions-stable.sh \
https://raw.githubusercontent.com/Senzing/knowledge-base/main/lists/senzing-versions-stable.sh
source /tmp/senzing-versions-stable.sh

sudo docker build \
--build-arg SENZING_ACCEPT_EULA=I_ACCEPT_THE_SENZING_EULA \
Expand All @@ -72,9 +74,9 @@ This is important as the compiling of the code expects Senzing to be in `/opt/se

```console
curl -X GET \
--output /tmp/senzing-versions-latest.sh \
https://raw.githubusercontent.com/Senzing/knowledge-base/main/lists/senzing-versions-latest.sh
source /tmp/senzing-versions-latest.sh
--output /tmp/senzing-versions-stable.sh \
https://raw.githubusercontent.com/Senzing/knowledge-base/main/lists/senzing-versions-stable.sh
source /tmp/senzing-versions-stable.sh

sudo rm -rf /opt/senzing
sudo mkdir -p /opt/senzing
Expand Down Expand Up @@ -106,9 +108,9 @@ in testing the `g2-sdk-go` packages.
"https://raw.githubusercontent.com/Senzing/docker-compose-demo/main/resources/${SENZING_DOCKER_COMPOSE_YAML}"

curl -X GET \
--output ${DOCKER_COMPOSE_DIR}/docker-versions-latest.sh \
https://raw.githubusercontent.com/Senzing/knowledge-base/main/lists/docker-versions-latest.sh
source ${DOCKER_COMPOSE_DIR}/docker-versions-latest.sh
--output ${DOCKER_COMPOSE_DIR}/docker-versions-stable.sh \
https://raw.githubusercontent.com/Senzing/knowledge-base/main/lists/docker-versions-stable.sh
source ${DOCKER_COMPOSE_DIR}/docker-versions-stable.sh

export SENZING_DATA_VERSION_DIR=/opt/senzing/data
export SENZING_ETC_DIR=/etc/opt/senzing
Expand Down
Loading

0 comments on commit 01439fe

Please sign in to comment.