Skip to content

Latest commit

 

History

History
54 lines (39 loc) · 1.74 KB

README.md

File metadata and controls

54 lines (39 loc) · 1.74 KB

Build Status Codecov Docker Hub

This repository contains browser for viewing activity on the underlying blockchain network.

Code style

TypeScript

For typescript code style standards we use TSLint

CSS

We use CSS Comb to format SCSS code in project.

To have it in JetBrains WebStorm follow next instructions

  1. Go to Preferences > External Tools (or press ⌘, on Mac)
  2. Click on Add icon (or press ⌘N on Mac)
  3. Fill the form with following info:
    • Name: CSS Comb
    • Program: $ProjectFileDir$/node_modules/.bin/csscomb
    • Parameters: $FilePath$ -t
    • Working directory: $FileDir$

Custom config

To pass custom variables put to /config/ app.config.js

Where app.config.js is a JavaScript file containing next content:

var __APP_CONFIG__ = {
  apiUrl: 'http://custom.apiserver',
  apiBaseUrl: 'http://custom.apiserver', // for v1 api version
  alternativeLogo: true, // true by default
  environments: [
     {
       name: 'Testnet',
       url: 'http://custom.explorerUrl',
     }
   ],
};

if (typeof global !== 'undefined') {
  global.__APP_CONFIG__ = __APP_CONFIG__;
}

Translations

In order to translate project files use i18n-editor. Download latest stable release and open Project located in client/src/locales