https://github.com/kleros/linguo-evidence-display
MetaEvidence display for Linguo disputes
https://github.com/kleros/linguo-evidence-display
arbitrable frontend linguo
Last synced: over 1 year ago
JSON representation
MetaEvidence display for Linguo disputes
- Host: GitHub
- URL: https://github.com/kleros/linguo-evidence-display
- Owner: kleros
- Created: 2020-07-21T21:33:12.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-09-23T20:30:28.000Z (almost 5 years ago)
- Last Synced: 2025-03-22T16:51:06.885Z (over 1 year ago)
- Topics: arbitrable, frontend, linguo
- Language: JavaScript
- Homepage:
- Size: 513 KB
- Stars: 0
- Watchers: 7
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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`:
```sh
cp .env.example .env
```
2. Set the appropriate environment variables.
3. Bundle the app for production:
```sh
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:
```sh
ipfs add -w -r .
```
8. The `evidenceDisplayURI` will be `/ipfs/`
## 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.