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.
Artem
d6ea7efe8b
|
2 years ago | |
---|---|---|
public | 2 years ago | |
scripts | 3 years ago | |
src | 2 years ago | |
.dockerignore | 3 years ago | |
.env | 2 years ago | |
.env.devnet | 3 years ago | |
.env.example | 3 years ago | |
.env.testnet | 3 years 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 | 3 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