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

Latest commit

 

History

History
39 lines (30 loc) · 1.05 KB

build.md

File metadata and controls

39 lines (30 loc) · 1.05 KB

Building and Testing

Prerequisites

  • Go 1.17
  • Docker (make sure to set your Docker to use Docker-Compose V1)
  • Docker-Compose V1
  • npm v8
  • GitHub packages setup: you will need to authenticate to GitHub packages with your personal token.
  • Configuring npm for use with GitHub Packages echo "//npm.pkg.github.com/:_authToken=${PERSONAL_TOKEN}" > ~/.npmrc
  • Make
  • bash

Host file

Add following entries to the host file.

127.0.0.1 testnet.orb.local
127.0.0.1 rp-adapter-rest.trustbloc.local
127.0.0.1 issuer-adapter-rest.trustbloc.local
127.0.0.1 issuer-hydra.trustbloc.local
127.0.0.1 mock-issuer-login.trustbloc.local

Targets

# run everything
make all

# linters
make checks

# unit tests
make unit-test

# BDD tests
make bdd-test