Senzing Playground for Go
-Go is not ready yet.
- +Go
++ The next step depends on your goal. +
++ + Choose your goal: +
+ +diff --git a/httpserver/static/root/component/left-nav-go.html b/httpserver/static/root/component/left-nav-go.html new file mode 100644 index 0000000..7743811 --- /dev/null +++ b/httpserver/static/root/component/left-nav-go.html @@ -0,0 +1,61 @@ + + Senzing + +
+ The Senzing SDK for Go methods are documented in the following: +
Go is not ready yet.
- ++ The next step depends on your goal. +
++ + Choose your goal: +
+ ++ You can use Jupyter notebooks or the Go SDK to explore Senzing. +
++ Hint: If the senzing/playground Docker container has been use in a prior + demonstration, restart the Docker container for best results. +
+ ++ In this exercise, Jupyter notebooks have been created to demonstrate Senzing. Using these + notebooks in the embedded Jupyter Lab as a starting point, modify a notebook to explore + Senzing. +
++ More information on + Jupyter Lab. +
++ + Choose a Jupyter notebook: +
++
+ Use a notebook as starting point to create your own Jupyter notebook. Remember that the + notebooks are not permanent and will be deleted when the Docker container is destroyed. You can + save a notebook to your workstation by selecting File > Download in Jupyter Lab. +
+
+ You can also upload a Go Notebook (.ipynb) file using a docker command.
+
Example:
+
+ docker container cp /tmp/my_local.ipynb senzing-playground:/examples/notebooks/go/my_local.ipynb
+
+ + In this exercise, Go programs which access Senzing are run on the command line. +
++ To run the example programs in the Docker container, open a Docker terminal and run any of the following: +
+ senzing_hello_world.py
+ senzing_load_truthsets.py
+ senzing_load_user_data.py
+
+ + Alternatively, you can use a docker command to open a terminal. Example: +
+ docker exec -it senzing-playground /bin/bash
+
+
+
+ By using docker commands, you can upload and download files to/from the running Docker
+ container.
Example download from Docker container:
+
+ docker container cp senzing-playground:/examples/go/senzing_hello_world.py /tmp/senzing_hello_world.py
+
+
+ docker container cp /tmp/my_local.py senzing-playground:/examples/go/my_local.py
+
+