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.
Captain Sev
bcf39f3568
|
3 years ago | |
---|---|---|
public | 3 years ago | |
scripts | 3 years ago | |
src | 3 years ago | |
.dockerignore | 3 years ago | |
.env | 3 years ago | |
.env.devnet | 3 years ago | |
.env.example | 3 years ago | |
.env.testnet | 3 years ago | |
.gitignore | 3 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