Skip to content

Latest commit

 

History

History
52 lines (35 loc) · 1.1 KB

CONTRIBUTING.md

File metadata and controls

52 lines (35 loc) · 1.1 KB

Contributing

Developers

Getting started

  1. Clone/fork this repo:

    git clone https://github.com/proof-Of-Humanity/proof-Of-Humanity-web/
  2. Install the dependencies:

    npm install
  3. Copy the .env.example file into .env.local and set the appropriate values:

    cp .env.example .env.local
    NEXT_PUBLIC_NETWORK=kovan # or mainnet
    NEXT_PUBLIC_INFURA_ENDPOINT='https://{network}.infura.io/v3/{api_key}'
    NEXT_PUBLIC_IPFS_GATEWAY='https://ipfs.kleros.io'
  4. Build the subgraph and the relay schemas locally:

    npm run local:build:graph:test
    npm run local:dev:relay:test
  5. Start the development server:

    npm run dev

    ℹ️ If you are running version 17 of Node and are getting an ERR_OSSL_EVP_UNSUPPORTED error, use this workaround:

    export NODE_OPTIONS=--openssl-legacy-provider

Pull requests

After making your changes, you can open a pull request and ask for review.