MetaEvidence display interface for Linguo disputes.
- Clone this repo.
- Run
yarn
to install dependencies - Run
yarn start
to start the dev server.
This interface is meant to be deployed to IPFS. To do so, you should:
- Copy the
.env.example
file to.env
:cp .env.example .env
- Set the appropriate environment variables.
- Bundle the app for production:
yarn build
- Zip the
dist/
directory. - Send the zip file to Kleros IPFS host server through SSH (ask a team member if you are not sure how).
- Unzip the file and jump to the folder.
- Add the contents of the folder to IPFS:
ipfs add -w -r .
- The
evidenceDisplayURI
will be/ipfs/<root_hash>
yarn run lint:js
- Lint the entire project's .js files.yarn run lint:js --fix
- Fixes linter errors entire project's .js files.yarn run lint:css
- Lint the entire project's .css files.yarn run lint:js --fix
- Fixes linter errors entire project's .css files.yarn run lint
- Lint the entire project.yarn run lint --fix
- Fixes linter errors in the entire project.yarn run build
- Create a production build.yarn run start
- Start the development server.