This is the top level repo that external developers can use to launch full implementations (eg demo) locally on their machines
You will need the following installed, the version numbers are just suggestions:
git (2.24), docker (20.10), docker-compose (1.27), npm (6.14), nodejs (14.15), java (11)
For docker, we recommend increasing its allocated resources to:
We will be referencing the following github repos several times. Here's the links:
protocol-demo
aries-guardianship-agency
aries-key-guardian
guardian-bio-auth
protocol-gateway
protocol-common (optional)
aries-controller (optional)
Create a home directory. The idea here is that we want some top level folder on your machine that contains all our repos in one place
You can call this "protocol-all" if you like. Unless, specified, always run commands from the home directory.
Inside home directory, clone all our repos using these commands (please note the commands assume you have ssl setup):
git clone [email protected]:kiva/protocol-demo.git
./protocol-demo/scripts/get_code.sh
Run the following command, from the home directory, to populate some dummy env values into .env files
./protocol-demo/scripts/dummy_env.sh
Run the following command, from the home directory, to get npm installs for each repo
./protocol-demo/scripts/npm_setup.sh
Note: if this is your first time you'll need to manually pull the latest bcgov image:
docker pull bcgovimages/aries-cloudagent:py36-1.15-1_0.6.0
From the home directory, build all of the docker containers
./protocol-demo/scripts/simple_build.sh
The simple demo includes the minimum pieces to spin up agents and run through the issuing and verifying flows with them
cd protocol-demo
./scripts/simple_start.sh
npm run test
./scripts/simple_stop.sh
The full stack demo includes the guardianship system which includes auth methods like fingerprints to control agents This requires some addition setup scripts
home directory run
./protocol-demo/scripts/java_setup.sh
./protocol-demo/scripts/full_build.sh
cd protocol-demo
./scripts/full_start.sh
npm run test
./scripts/full_stop.sh
Content type
Image
Digest
Size
66.3 MB
Last updated
about 5 years ago
docker pull kivaprotocol/demo-controller