You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
artemkolodko
cb99876c73
|
1 year ago | |
---|---|---|
public | 2 years ago | |
scripts | 3 years ago | |
src | 1 year ago | |
.dockerignore | 3 years ago | |
.env | 2 years ago | |
.env.devnet | 1 year ago | |
.env.example | 1 year ago | |
.env.testnet | 1 year ago | |
.gitignore | 2 years ago | |
.nvmrc | 3 years ago | |
CONTRIBUTING.md | 3 years ago | |
Dockerfile | 3 years ago | |
README.md | 3 years ago | |
netlify.toml | 3 years ago | |
package.json | 2 years ago | |
tsconfig.json | 3 years ago |
README.md
Harmony Explorer frontend
Requirements
Node.js 16.13.2 LTS
Download and install Node.js from the official website: https://nodejs.org/
yarn 1.22.17
npm install --global yarn
Dev Environment
First Install
- Clone repo:
git clone https://github.com/harmony-one/explorer-v2-frontend.git
- Install dependencies:
cd explorer-v2-frontend
yarn install
- Run project:
yarn start
- Open app page http://localhost:3000/
Configuring app
- Create a new file:
.env.local
- Copy env variables from
.env.example
to newly created file.env.local
- Setup custom env variables values and restart the app
Build
To create production build run command:
yarn build