tree: 5e708ad44c76b1241cbfd77a188a46bb80909470 [path history] [tgz]
  1. src/
  2. test/
  3. .gitignore
  4. index.html
  5. package-lock.json
  6. package.json
  7. README.md
  8. tsconfig.json
  9. vite.config.js
  10. web-test-runner.config.mjs
pw_web/log-viewer/README.md

Log Viewer

An embeddable log-viewing web component that is customizable and extensible for use in various developer contexts.

Installation

  1. Clone the main Pigweed repository:
git clone https://pigweed.googlesource.com/pigweed/pigweed
  1. Navigate to the project directory:
cd pigweed
  1. Install the necessary dependencies:
source bootstrap.sh

Build

  1. Navigate to the project directory:
cd pigweed/pigweed_web/log-viewer
  1. run the following command at the root of the project:
npm run build

This will generate the compiled files used in the application.

Development Mode

To run the application in development mode, use the following command:

npm run dev -- --host

This will start the development server and launch the application. The --host flag is optional and can be used to specify the host address.

Usage