Skip to content

Latest commit

 

History

History
57 lines (38 loc) · 2.07 KB

CONTRIBUTING.md

File metadata and controls

57 lines (38 loc) · 2.07 KB

Contributing to Gidari

Thank you for your interest in contributing to Gidari! Please make sure to fork this repository before working through issues.

Bug Fixes and New Features

See the Gidari MVP project list for open issues, please only focus on issues in the "Scheduled" column. Issues labeled with "good first issue" are excellent starting points for new engineers. If you have completed an issue:

  1. Fork this repository
  2. Create a pull request pointing to "main"
  3. Add a reviewer

All pull requests are subject to the GitHub workflow CI defined in the Actions section of the repository.

Dependencies

To develop locally you will need to install the following dependencies:

  1. Go: https://go.dev/doc/install
  2. Google protobuf compiler (protoc):

Mac OS and Linux

Windows

  1. protoc-gen-go: https://developers.google.com/protocol-buffers/docs/gotutorial#compiling-your-protocol-buffers
  2. gofumpt: https://github.com/mvdan/gofumpt
  3. golangcli-lint: https://github.com/golangci/golangci-lint#install-golangci-lint

Testing

To test run

make tests

Testing with the CLI

You may want to test the Gidari CLI with changes you make in Gidari. To do this we will use the go.mod repalce directive. You will need to fork the github.com/alpstable/gidari-cli repository and add the following to the go.mod file:

replace github.com/alpstable/gidari => your/local/gidari/fork

Then run make in the gidari-cli fork, this will create a binary that uses your local gidari fork.