Skip to content

Instantly share code, notes, and snippets.

@rngadam
Last active July 27, 2024 19:56
Show Gist options
  • Save rngadam/d922ee6d612c09170672496ea27fa4b1 to your computer and use it in GitHub Desktop.
Save rngadam/d922ee6d612c09170672496ea27fa4b1 to your computer and use it in GitHub Desktop.

How to setup an Aries development environment

Goals

  • For the purpose of developing Aries digital identity agent
  • At least one green test suite as a starting point
  • Facilated cloud development on faster server machines with better network
  • Shared development resources (prebuilt containers)

version

  • Ubuntu 24.04 LTS
    • Linux 6.8.0-1012-aws

Setup AWS EC2 server

apt-get update
apt-get dist-upgrade
reboot

add accounts with public key access

Setup Visual Code Server (EC2 instance)

Install Visual Code Server on the EC2 instance:

sudo snap install --classic code

Create tunnel:

code tunnel

Follow instructions to login to Github and vscode.dev

Setup Visual Code Client (your machine)

Install Microsoft extension remote tunnel in Visual Studio Code

  • Remote-Tunnels: Open Remote Tunnel
    • Login github
    • Select created tunnel

Checkout source code

  • Create workspace
  • Clone bcgov/von-network and
  • Clone hyperledger/aries-agent-test-harness

build

bcgov/von-network:

./manage build

hyperledger/aries-agent-test-harness:

test suite:

./manage rebuild -a acapy-main

run:

./manage runset acapy-aip20 acapy-main

mobile wallet test suite (interactive tests with mobile wallet, such as BC Wallet):

./manage build -a mobile -a acapy-main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment