Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Latest commit

 

History

History
56 lines (38 loc) · 840 Bytes

File metadata and controls

56 lines (38 loc) · 840 Bytes

COVID-19 Contract Explorer: Public frontend

Prerequisites

Install Node.js on Ubuntu:

curl -fsSL https://deb.nodesource.com/setup_14.x | sudo -E bash -
sudo apt-get install -y nodejs

Or on Debian (as root):

curl -fsSL https://deb.nodesource.com/setup_14.x | bash -
apt-get install -y nodejs

Install Yarn on Linux:

curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list

Getting started

Install the pre-commit Python package:

pip install pre-commit

Set up the git pre-commit hook:

pre-commit install

Install dependencies:

yarn

Start a development server:

yarn start

Prepare a production build:

yarn build