blob: 10862ee77b7169c27bb4ef695f1b0f53e2336d20 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# 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
```
2. Navigate to the project directory:
```
cd pigweed
```
3. Install the necessary dependencies:
```
source bootstrap.sh
```
## Build
1. Navigate to the project directory:
```
cd pigweed/pigweed_web/log-viewer
```
2. 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
|