- Git
- Go 1.13+
- Running
pfcd
-node synchronized to the current best block on the network. - (Optional) PostgreSQL 9.6+, if running in "full" mode. v10.x is recommended for improved dump/restore formats and utilities.
The following instructions assume a Unix-like shell (e.g. bash).
-
Verify Go installation:
go env GOROOT GOPATH
-
Ensure
$GOPATH/bin
is on your$PATH
. -
Clone the pfcdata repository. It is conventional to put it under
GOPATH
, but this is no longer necessary with go module.git clone https://github.com/picfight/pfcdata $GOPATH/src/github.com/picfight/pfcdata
-
Install a C compiler.
cd $GOPATH/src/github.com/picfight/pfcdata
set GO111MODULE=on
go version
go clean -testcache
go build -v ./...
go test -v ./...
go install
This project is licensed under the ISC License. See the LICENSE file for details.