Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
60 lines (40 sloc) 1.15 KB

CONTRIBUTING

Contributions are always welcome, no matter how large or small. Before contributing, please read the code of conduct.

Setup

Install Go and Glide https://github.com/Masterminds/glide Install Docker to run tests

$ git clone https://github.com/netlify/gotrue
$ cd gotrue
$ make deps

Building

$ make build

Running database migrations for development and testing

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

Migrations for development

$ make migrate_dev

Migrations for testing

$ make migrate_test

Testing

$ make test

Pull Requests

We actively welcome your pull requests.

  1. Fork the repo and create your branch from master.
  2. If you've added code that should be tested, add tests.
  3. If you've changed APIs, update the documentation.
  4. Ensure the test suite passes.
  5. Make sure your code lints.

License

By contributing to Netlify CMS, you agree that your contributions will be licensed under its MIT license.