Skip to content

Commit

Permalink
docs: CONTRIBUTING.mnd
Browse files Browse the repository at this point in the history
  • Loading branch information
caarlos0 authored Dec 21, 2018
1 parent 737b5fa commit e96f2fc
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Contributing

## Setup your machine

`couchbase-exporter` is written in [Go](https://golang.org/), version 1.11 and beyond.

Prerequisites:

- `make`
- [Go 1.11+](https://golang.org/doc/install)
- `jsonnet` (to generate grafana dashboards)

Clone the project anywhere:

```sh
$ git clone [email protected]:totvslabs/couchbase-exporter.git
```

Install the build and lint dependencies:

```console
$ make setup
```

A good way of making sure everything is all right is running the test suite:

```console
$ make test
```

## Test your change

You can create a branch for your changes and try to build from the source as you go:

```console
$ make build
```

When you are satisfied with the changes, we suggest you run:

```console
$ make ci
```

Which runs all the linters and tests.

0 comments on commit e96f2fc

Please sign in to comment.