Contributions are always welcome, no matter how large or small. Before contributing, please read the code of conduct.
Install Go 1.11.1 Install Docker to run tests
GoTrue uses the Go Modules support built into Go 1.11 to build. The easiest is to clone GoTrue in a directory outside of GOPATH, as in the following example:
$ git clone https://github.com/netlify/gotrue
$ cd gotrue
$ make deps
$ make build
- Make sure your database can be accessed with user
root
without a password. - Alternatively, you can start MySQL inside a docker container running
hack/mysqld.sh
.
$ make migrate_dev
$ make migrate_test
$ make test
We actively welcome your pull requests.
- Fork the repo and create your branch from
master
. - If you've added code that should be tested, add tests.
- If you've changed APIs, update the documentation.
- Ensure the test suite passes.
- Make sure your code lints.
By contributing to Netlify CMS, you agree that your contributions will be licensed under its MIT license.