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

Latest commit

 

History

History

signer

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Parity Trusted Signer

Parity Trusted Signer Dapp.

Back to parity-ui

Development

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

You need to run Parity using:

$ parity --signer-no-validation

to disable origin verification. Otherwise your development server will not be able to connect.

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/signer/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.