Stratumn's SDK to create Indigo applications and networks.
The SDK includes tools to build Proof of Process Networks using the Indigo Framework.
To get started, visit the Indigo Framework website: https://indigoframework.com
You need Docker to be able to run the tests. The images couchstore:latest
, rethink:latest
and
postgres:latest
will be run automatically (and pulled from the docker hub if
you don't already have them locally).
Install dependencies:
go get -u github.com/golang/dep/cmd/dep
dep ensure
To manage dependencies, see dep.
Run all tests:
make test
See test coverage in the browser:
make coverhtml
Run the linter:
go get -u github.com/golang/lint/golint
make lint
Build tagged docker images:
make docker_images
If you want to release a new version of the Stratumn SDK, here is what you need to do. You need to install:
You'll need to add your PGP public key to strat/cmd/pubkey.go
Then at the root of the repo:
- Update the CHANGELOG file
- Create a branch named vA.B.x (for example: 0.1.x) from master
- On this new branch, create a VERSION file that contains the version (for example: 0.1.0)
- Set the pre-release flag in PRERELEASE if needed
- Run make release (this will create the tag, build the binaries and the docker images, push the docker images and publish a release on Github)
Copyright 2017 Stratumn SAS. All rights reserved.
Unless otherwise noted, the source files are distributed under the Apache License 2.0 found in the LICENSE file.
Third party dependencies included in the vendor directory are distributed under their respective licenses.