ihgs / temp-logviewer

1 stars 0 forks source link

= temp-logviewer

image:https://badges.greenkeeper.io/ihgs/temp-logviewer.svg[link="https://greenkeeper.io/"]

Simple temporary log viewer

== How to run

[source=bash]

docker build -t logv . # --build-arg http_proxy=http://user:pass@proxy.example.com:8080 --build-arg https_proxy=http://user:pass@proxy.example.com:8080 docker run --rm --name logv -d -p 8080:80 logv

== How to use

Register logformat

  1. Click Register RegExp menu link
  2. Input Log Sample and Log Format by Regular expression
  3. Click Check button
  4. If you get expected result, input Log Format Id and Click Register button

Parse log file

  1. Click Parse Log menu link
  2. Select Log Format
  3. Drag & Drop your log file

== Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

# run unit tests
npm run unit

# run all tests
npm test