Skip to content
This repository has been archived by the owner on Sep 27, 2019. It is now read-only.

Commit

Permalink
Merge pull request #73 from trufflesuite/feature/contributing
Browse files Browse the repository at this point in the history
Feature/contributing
  • Loading branch information
honestbonsai authored Mar 5, 2019
2 parents 0b04073 + 4c8d5d3 commit 4a14cf6
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Contributing

`drizzle-react-components` follows the same contribution guide as `drizzle`. Check it out [here](https://github.com/trufflesuite/drizzle/blob/develop/CONTRIBUTING.md).

This guide will cover the `drizzle-react-components` specific content.

## Development

### Development Requirements

In order to develop Drizzle React Components (DRC), you'll need:

- [Git](https://git-scm.com/)
- [Node.js](https://nodejs.org)

### Getting Started

First clone this repository and install NPM dependencies:

$ git clone [email protected]:trufflesuite/drizzle-react-components.git
$ cd drizzle-react-components
$ npm install

If all is good, then run the build command:

$ npm run build

Your local DRC copy is contained in the `dist/` directory.

To use this in a project, use `npm link`:

$ cd dist
$ npm link // may require sudo
$ cd my-project-root
$ npm link drizzle-react-components

You're ready to use your local development version of DRC in your project.

## Tips for Getting your PR Merged

These tips will make it easier to review and eventually merge your PRs.

1. When submitting a PR, make sure to reference the issue number so we can better trace what issue the PR is solving.

1. Keep your PRs small and atomic. Only resolve the issue you are targetting. Don't mix refactors with features/bugfixes, it bloats the diff and makes it hard to see what code is related to the actual feature/bugfix.

1. If it's a new feature, add an example implementation to the `test-app` and `test-app-legacy-context` and update `README.md`.

0 comments on commit 4a14cf6

Please sign in to comment.