Skip to content

Latest commit

 

History

History
47 lines (32 loc) · 1.45 KB

README.md

File metadata and controls

47 lines (32 loc) · 1.45 KB

pfcdata

Build Status Latest tag Go Report Card ISC License

Requirements

  • 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.

Setup

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

License

This project is licensed under the ISC License. See the LICENSE file for details.