- Bring up (or connect to) an OpenShift cluster.
- Use the
oc_configure_builds.sh
andoc_configure_deployments.sh
scripts to configure and deploy the 'Alice' example network in your OpenShift project. - Wait for the builds and deployments to complete.
- Open a terminal to the client node.
- Configure the agent nodes following the instructions here; Starting the Sovrin Agent Scripts. Ensure that you use the IP addresses assigned by openshift, not the default IP addresses in the instructions.
- Open a terminal to the client node and walk through the Alice Gets a Transcript example.
- Docker
- OpenShift
Refer to Chocolatey Scripts for information on setting up a location OpenShift environment.
To start a local cluster: MSYS_NO_PATHCONV=1 ./oc_cluster_up.sh
To stop a local cluster: ./oc_cluster_down
Configuration and deployment scripts for deploying a sample network ready for the 'Alice' example in OpenShift.
Use: ./oc_configure_builds.sh
Creates the build configurations and image streams for the hyperledger indy images in OpenShift.
Use: ./oc_configure_deployments.sh
Creates the deployment configurations, services, and routes for the hyperledger indy images in OpenShift.
By default the scripts setup a hyperledger indy network consisting of:
- 4 Indy Nodes
- 1 Client Node
- 3 Agent Nodes, one each for;
- Faber
- Acme
- Thrift
All of the nodes are dynamically configured with the IP addresses of the Indy Nodes so they are able to connect and communicate.
Currently the agent configuration must be performed manually following the instructions here; Starting the Sovrin Agent Scripts. The plan is to script and automate the agent configuration and registration in a later version so the whole environment comes up in a state where the 'Alice' example can be run out of the box.