30 lines
478 B
Markdown
30 lines
478 B
Markdown
## Job Log Parser
|
|
|
|
Small Node app that extracts data from DPX Job Logs
|
|
|
|
### Install
|
|
|
|
Clone the Repo
|
|
|
|
Install node js version 18 and npm. On Debian the best way is the
|
|
following:
|
|
|
|
```sh
|
|
cd ~
|
|
curl -sL https://deb.nodesource.com/setup_18.x -o /tmp/nodesource_setup.sh
|
|
sudo bash /tmp/nodesource_setup.sh
|
|
sudo apt install nodejs
|
|
```
|
|
|
|
Enter the folder and execute
|
|
|
|
```sh
|
|
npm install
|
|
```
|
|
|
|
### Start the app
|
|
|
|
node app.js
|
|
|
|
Goto http://localhost:3000 and upload a job log
|