Parity Status Page.
$ 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.
When working on components
at the same time you need to link that package:
$ npm run link
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.