Deploying the Encrypted Object Store
Practical guide to deploying the Object Store
A local environment can help get you acquainted with the object store. Typical use cases will require at least two object stores, to simulate data being shared between two separate participants.
A script for deploying a local environment in Docker with two object stores and a Provenance node is available in the p8e CEE API repository. It stands up two object stores backed by a PostgreSQL data store along with a single Provenance Blockchain node. The object stores and blockchain node provide an environment to exercise the various operations needed to understand how data is stored in p8e. This repository also provides a web-server you can use to exercise and manipulate your environment to meet your needs.
Local Environment Setup
The general system requirements to spin up this test environment locally are as follows, but do check out README for more details.
- 1.Git command line
- 2.Terminal that can run shell scripts (e.b. Mac Terminal, Bash)
- 3.Docker and Docker Compose
Download the repo.
git clone https://github.com/provenance-io/p8e-cee-api
./gradlew clean build
Setup Docker containers as detailed in the image above using a script.
Start the web server.
Depending on your testing needs, you may choose to just operate on one of the two Object Stores, but two have been provided to support simulating operations across two separate Object Stores.
By default, the components are listening on the following ports:
Provenance Blockchain Node
1317:1317 9090:9090 26657:26657
Object Store 1
Object Store 2
Figure hosts and operates a sandbox p8e environment that is configured to work with the Provenance testnet for potential asset originators to play with. Contact Figure for more information.