To attend the Hyperledger Foundation Community Workshop series, Intro to Decentralized Identity, some preparatory work must be done in order to follow along with the workshops. Please make sure the OS and tools listed below are installed. The command lines are provided because in some cases, the default download will not work with our solution.
To successfully follow the examples given during the training, you will need Ubuntu 18.04 (The desktop version is required).
If not already installed, you will need to install curl, Node.js, Git, Docker, and Docker-Compose on your Ubuntu system. These must be installed to do the labs during the training session. Use the steps in each section below to properly install each element.
curl (optional: typing "curl -help" will tell you if the following is needed)
Note: Do not use the default method for installing Node.js in Ubuntu, please enter the two command lines listed here.
Only perform Steps 1 and 2 from the following link to install docker: https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-18-04.
Enter these three commands in your terminal:
Your output should read as follows:
$ docker-compose version 1.25.5, build 8a1c60f6
Install a necessary dependency:
Ubuntu 21 dependency
If you are using a recent version of Ubuntu (+21.04) you should install the "shared low-level terminfo" library. Otherwise the indy-cli installation may fail;
sudo apt install -y libtinfo5
Enter these six commands into your terminal:
Enter all of the following steps in to the Ubuntu command line:
Now download the Indicio TestNet Genesis file:
Create a cliconfig file (e.g. vi cliconfig) in your home directory and add the following contents:
Run indy-cli. A full path for cliconfig is needed if you do not run indy-cli from your home directory.
Ubuntu In a VM
If Ubuntu is installed on Mac or Windows in a Virtualbox VM, do the following:
- Perform all the steps listed in this tutorial to update your system and enable copy and paste.
- Make sure to restart your VM and that the Shared Clipboard is set to bidirectional:
- In your VM machine settings, in Virtual Box > General > Advanced
- Set ‘Shared Clipboard’ to ‘Bidirectional’
Test starting the agents and toolbox
From one terminal, run the following:
After running these commands, you should see a window like the following pop up:
This is the Aries Toolbox. We will now start the agents. From another terminal, run the following:
When running docker-compose (or other docker commands), you may need to prefix the command with `sudo` if it initially fails due to permissions.
The above command would then look like:
After running this command, you should see output similar to the following:
If you've gotten to this point, you should be ready to run the agents and toolbox for the workshop!