This repository contains browser for viewing activity on the underlying blockchain network.
For typescript code style standards we use TSLint
We use CSS Comb to format SCSS code in project.
To have it in JetBrains WebStorm follow next instructions
$ProjectFileDir$/node_modules/.bin/csscomb$FilePath$ -t$FileDir$You can run production version of application in Docker container
docker-compose up
To rebuild image run
docker-compose up --build
To pass custom variables run docker-compose with variable REACT_APP_APP_CONFIG
REACT_APP_APP_CONFIG=/path/to/custom/app.config.js docker-compose up
Where app.config.js is a JavaScript file containing next content:
var __APP_CONFIG__ = {
apiUrl: 'http://custom.apiserver',
alternativeLogo: true, // true by default
environments: [
{
name: 'Testnet',
url: 'http://custom.explorerUrl',
}
],
};
if (typeof global !== 'undefined') {
global.__APP_CONFIG__ = __APP_CONFIG__;
}
In order to translate project files use i18n-editor.
Download latest stable release and open Project located in client/src/locales
Content type
Image
Digest
Size
162.6 MB
Last updated
over 6 years ago
docker pull ergoplatform/ergo-explorer