-
Clone/fork this repo:
git clone https://github.com/proof-Of-Humanity/proof-Of-Humanity-web/
-
Install the dependencies:
npm install
-
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'
-
Build the subgraph and the relay schemas locally:
npm run local:build:graph:test npm run local:dev:relay:test
-
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
After making your changes, you can open a pull request and ask for review.