erigon-pulse/debug-web-ui
Alex Sharov 19583b9084
Docker compose (#841)
* add docker-compose

* test.http

* make different dockerfile for each component

* make different dockerfile for each component

* fix versions

* remove dedicated docker files

* cleanup

* cleanup

* cleanup
2020-08-01 09:39:04 +02:00
..
public Debug Web UI prototype (#362) 2020-02-09 13:31:52 +03:00
src fix - change private api from ui (#828) 2020-07-30 14:23:37 +07:00
.gitignore Debug Web UI prototype (#362) 2020-02-09 13:31:52 +03:00
Dockerfile Docker compose (#841) 2020-08-01 09:39:04 +02:00
package.json implement db stats page (#803) 2020-07-29 05:31:46 +01:00
README.md Docker compose (#841) 2020-08-01 09:39:04 +02:00
yarn.lock implement db stats page (#803) 2020-07-29 05:31:46 +01:00

This project was bootstrapped with Create React App.

Prerequisites

  • Node.js v13 or higher

  • yarn (install with npm install -g yarn)

Quickstart

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

  2. Run TurboGeth with the RemoteDB interface: ./build/bin/tg --private.api.addr=localhost:9090

  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