Skip to content

earthspay/EarthsExplorerLite

 
 

Repository files navigation

Earths Explorer

Earths Blockchain Explorer

Demo

Demo is available on https://explorer.earths.ga

Setup

Install NodeJS

Install yarn

Install gulp:

yarn global add gulp-cli

Run locally

yarn install 
yarn start

Your browser will open local version of Earths Explorer automatically.

Build

Build process creates ./dist directory with Earths Explorer distribution that supportes mainnet, testnet and a custom network. To create the distribution, run:

gulp build-official

Deployment

Prerequisites

To enable deployment you need to provide access keys from Amazon S3. This is done via environment variables that need to be set before deployment script is invoked.

  • EXPLORER_AWS_ACCESS_KEY_ID - access key ID
  • EXPLORER_AWS_ACCESS_SECRET - access key secret

See Amazon S3 access for further details. These values SHOULD NEVER be stored in git repo.

Commands

Deployment is automated via publish task, which is quite smart to upload only changed files since the last deployment. By default publish will deploy each configuration to their corresponding location on Amazon S3.

To deploy official explorer to staging, run:

gulp publish-official-staging

To deploy official explorer to production, run:

gulp publish-official-prod

Deploy script will automatically build the project and deploy selected configuration.

About

Pure AngularJS explorer for Earths Blockchain

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 79.2%
  • CSS 20.2%
  • HTML 0.6%