erigon-pulse/debug-web-ui
2020-04-11 08:22:23 +01:00
..
public Debug Web UI prototype (#362) 2020-02-09 13:31:52 +03:00
src Add support of geth on hostmachine (#437) 2020-04-11 08:22:23 +01:00
.gitignore Debug Web UI prototype (#362) 2020-02-09 13:31:52 +03:00
Dockerfile Add support of geth on hostmachine (#437) 2020-04-11 08:22:23 +01:00
package.json Revert "remove tombstones" (#430) 2020-04-08 12:45:51 +01:00
README.md auto-format code by prettier (similar to gofmt) (#405) 2020-03-25 12:45:21 +07:00
yarn.lock Revert "remove tombstones" (#430) 2020-04-08 12:45:51 +01:00

This project was bootstrapped with Create React App.

Prerequisites

  • Node.js v13

  • yarn (install with npm install -g yarn)

Quickstart

  1. Run geth with the remote DB interface on localhost:9999

  2. Install dependencies: cd debug-web-ui && yarn install && cd ..

  3. Run the rest server: make restapi && ./build/bin/restapi

  4. Run the web UI: make run-web-ui

Auto-Format code on save:

For Webstorm: https://blog.jetbrains.com/webstorm/2020/02/webstorm-2020-1-eap-5/

Available Scripts

In the project directory, you can run:

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

yarn test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

yarn build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.

Code Splitting

This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting

Analyzing the Bundle Size

This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size

Making a Progressive Web App

This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app

Advanced Configuration

This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration

Deployment

This section has moved here: https://facebook.github.io/create-react-app/docs/deployment

yarn build fails to minify

This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify