Skip to content
This repository has been archived by the owner on Jan 22, 2020. It is now read-only.

Commit

Permalink
Add a README for instructions to launch the app
Browse files Browse the repository at this point in the history
Signed-off-by: asettouf <[email protected]>
  • Loading branch information
asettouf committed Jan 8, 2018
1 parent 848f078 commit c853aa4
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions LFS171x/sawtooth-material/sawtooth-tuna/go-processor/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
### Setting up the project

You are going to have to download a few packages:

* `go get -u github.com/golang/protobuf/proto`
* `go get -u github.com/satori/go.uuid`
* `go get -u github.com/pebbe/zmq4`

Now since the golang sawtooth_sdk has been commited to this repo (given https://jira.hyperledger.org/browse/STL-974 ), you are ready to go.

### Launch the project

* First start the docker with `docker-compose -f sawtooth-default.yaml up` in the folder `sawtooth-material`
* Now go to the folder `sawtooth-material/sawtooth-tuna/go-processor` and in your shell run: `export GOPATH=$PWD`
* Finally run `go run src/processor/main.go`

The transaction processor should start, and you should see at the end

```
2018/01/08 21:49:30.017209 processor.go:351: [INFO] Successfully registered handler (transfer-chain, 0x525b60, application/json, [19d832])
```

0 comments on commit c853aa4

Please sign in to comment.