Skip to content
This repository has been archived by the owner on Mar 5, 2022. It is now read-only.

Latest commit

 

History

History
31 lines (21 loc) · 1001 Bytes

build.md

File metadata and controls

31 lines (21 loc) · 1001 Bytes

TrustBloc-DID-Method - Build

Prerequisites

  • Go 1.15

Prerequisites for Tests

Targets

# run checks and unit tests
make all

# run BDD tests
make bdd-test

# build did method docker image
make did-method-rest-docker

BDD Test Prerequisites

To run BDD tests (make bdd-test) you need to modify your hosts file (/etc/hosts on *NIX) to add the following lines, to allow few of the bdd test containers to be connected to externally.

127.0.0.1 testnet.trustbloc.local
127.0.0.1 stakeholder.one
127.0.0.1 sidetree-mock