Skip to content
This repository has been archived by the owner on Jul 2, 2018. It is now read-only.

Latest commit

 

History

History

status

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Parity Status Page

Parity Status Page.

Back to parity-ui

Development

 $ cd parity-ui/status/web
 $ npm install
 $ npm start # Starts development server
 $ xdg-open http://localhost:3040 || open http://localhost:3040

Make sure to have Parity running.

Package Linking

When working on components at the same time you need to link that package:

$ npm run link

Pre-compiling JS files

After you finish changing the source code you need to also commit pre-compiled JS files, otherwise the build will fail.

 $ cd parity-ui/status/web
 $ rm -rf node_modules                  # Make sure to start with fresh dependencies
 $ rm -rf ../../components/node_modules
 $ npm install --ignore-scripts         # Install dependencies (but don't link components)
 $ NODE_ENV=production npm run build

You can also use:

 $ cd parity-ui
 $ ./web.sh build

to re-compile everything (recommended).


Head to parity-ui to learn how to build Parity with your changes.