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

Commit ca52e63

Browse files
committed
Add a README for instructions to launch the app
Signed-off-by: asettouf <[email protected]>
1 parent 848f078 commit ca52e63

File tree

1 file changed

+21
-0
lines changed
  • LFS171x/sawtooth-material/sawtooth-tuna/go-processor

1 file changed

+21
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
### Setting up the project
2+
3+
You are going to have to download a few packages:
4+
5+
* `go get -u github.com/golang/protobuf/proto`
6+
* `go get -u github.com/satori/go.uuid`
7+
* `go get -u github.com/pebbe/zmq4`
8+
9+
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.
10+
11+
### Launch the project
12+
13+
* First start the docker with `docker-compose -f sawtooth-default.yaml up` in the folder `sawtooth-material`
14+
* Now go to the folder `sawtooth-material/sawtooth-tuna/go-processor` and in your shell run: `export GOPATH=$PWD`
15+
* Finally run `go run src/processor/main.go`
16+
17+
The transaction processor should start, and you should see at the endpoint
18+
19+
```
20+
2018/01/08 21:49:30.017209 processor.go:351: [INFO] Successfully registered handler (transfer-chain, 0x525b60, application/json, [19d832])
21+
```

0 commit comments

Comments
 (0)