This is an old revision of the document!
Overview
Notes on Sawtooth, based on EDX course chapter for the time being.
Installation on Fedora
$ sudo dnf install docker-ce docker-compose $ sudo dnf install nodejs npm $ sudo dnf install golang
Check versions:
$ npm --version $ node --version
Start Docker:
$ sudo systemctl start docker
Getting Started
$ docker-compose -f sawtooth-default.yaml up [&]
In a separate window (not necessarily the same directory):
$ docker exec -it sawtooth-client-default bash
Test from client container:
# curl http://rest-api:8080/blocks
Test from host:
$ curl http://localhost:8080/blocks
To shut things down later:
$ docker-compose -f sawtooth-default.yaml down