All Projects → paritytech → Parity Ui

paritytech / Parity Ui

Moved to https://github.com/parity-js/shell

Programming Languages

javascript
184084 projects - #8 most used programming language

Parity UI

This repository is deprecated, please use Main Parity Repo for issues.


Build Status Join the chat at https://gitter.im/ethcore/parity GPLv3

A set of Parity built-in Dapps and UI components.

List of projects

How to add a new Built-in Dapp?

See description in Parity Dapps.

Development

Development procedures for each project are described in its' README files.

Web.sh

You can use ./web.sh script to automate some actions for all projects.

  • $ ./web.sh clean - Remove node_modules for each project.
  • $ ./web.sh build - Compile JS files for each project.
  • $ ./web.sh lint - Run linting for each project.
  • $ ./web.sh test - Run tests for each project.
  • $ ./web.sh shrinkwrap - Regenerate shrinkwrap.json file for each project.

Before making a PR with your changes you should pre-compile all JS files (they are used when building Parity):

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

Make sure to commit pre-compiled files.

Building Parity

By default Parity is using pre-compiled files while building:

$ cd parity
$ cargo build --release # this will use pre-compiled JS files

You can do full Parity build using:

$ cd parity
$ cargo build --no-default-features --features ui

Building Parity with local version of Parity-UI

You can use Cargo Config file to use local version of your Parity UI (without modyfing original Cargo.toml files)

# ~/.cargo/config
# Location of parity-ui repo: ~/path/to/parity-ui
paths = [
  "path/to/parity-ui/dapps",
  "path/to/parity-ui/wallet",
  "path/to/parity-ui/home",
  "path/to/parity-ui/status",
  "path/to/parity-ui/signer"
]

This will always use your local version of Parity-UI while compiling Parity.

Pre-push hook

You can install pre-push hook to run linting and tests for all projects.

$ cd parity-ui
$ ./scripts/hook.sh
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].