tree: 1d7dd57c39b167e598a50a6470a2a391c9710673 [path history] [tgz]
  1. src/
  2. .eslintrc.cjs
  3. .gitignore
  4. .prettierignore
  5. .prettierrc.cjs
  6. index.html
  7. package-lock.json
  8. package.json
  9. README.md
  10. tsconfig.json
  11. vite.config.js
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.

Visit go/fxd-pigweed-log-viewer for more information.

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