Giter Site home page Giter Site logo

linguo-evidence-display's Introduction

MetaEvidence display interface for Linguo disputes.

Get Started

  1. Clone this repo.
  2. Run yarn to install dependencies
  3. Run yarn start to start the dev server.

Deploy

This interface is meant to be deployed to IPFS. To do so, you should:

  1. Copy the .env.example file to .env:
    cp .env.example .env
  2. Set the appropriate environment variables.
  3. Bundle the app for production:
    yarn build
  4. Zip the dist/ directory.
  5. Send the zip file to Kleros IPFS host server through SSH (ask a team member if you are not sure how).
  6. Unzip the file and jump to the folder.
  7. Add the contents of the folder to IPFS:
    ipfs add -w -r .
  8. The evidenceDisplayURI will be /ipfs/<root_hash>

Other Scripts

  • 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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.