The project is built using make.
BDD test suit can be run via make bddtests
To run a Sidetree node along with Hyperledger Fabric you can use docker-compose.
First run the compose itself via
-
cd test/bddtests/fixtures/
-
docker-compose up –force-recreate
This will start up the node and Fabric but you need to set up the ledger first. This is done by running BDD tests outside of make (after the containers have been started): -
cd test/bddtests
-
DISABLE_COMPOSITION=true go test
After that you can invoke the Sidetree REST API at the following URL: http://localhost:48326/document
To bring everything down run docker-compose down
Thank you for your interest in contributing. Please see our community contribution guidelines for more information.
Apache License, Version 2.0 (Apache-2.0). See the LICENSE file.