HinokiSu / uipath-log-analyzer

uipath log analyzer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Uipath Log Analyzer

Description

Used for local parsing of Log file data generated by Uipath

Usage

Development

Font-end

Tips: The project uses Yarn 3.3 > How to update yarn to version 3

$ yarn set version stable
# Run front-end project
# current path: **/*/uipath-logs-analyzer/
$ cd app
# install all deps
$ yarn
# Bootstrap
$ yarn dev

Back-end

Preparation

Modify server configuration files server.config.json
Tips: Windows path requires escape characters Windows Path(C:\Users) --> json file(C:\\Users)

{
  "UIPATH_LOGS_FOLDER_PATH": "C:\\Users\\example\\AppData\\Localogs",
  "CLIENT_PORT": "4301",
  "SERVER_PORT": "4302"
}
  • Configuration parameter description

UIPATH_LOGS_FOLDER_PATH : Uipath log file root path CLIENT_PORT : The port that provides the web service SERVER_PORT : The port that provides the backend service

Run
# Run back-end project
# Tips: current path: **/*/uipath-logs-analyzer/
$ cd server

# Install all deps
$ yarn

# Bootstrap
$ yarn watch:server

Production

front-end

# current path: **/*/uipath-logs-analyzer/app/
$ yarn build

# copy front-end dist to back-end src/public/
$ cp dist/* ../server/src/public/

back-end

# current path: **/*/uipath-logs-analyzer/server/
# build back-end project, for ts->js
$ yarn run build

# Install pkg globally
$ yarn global add pkg

# use pkg build to create *.exe file
$ yarn run build:pkg

pkg github

LICENSE

MIT

About

uipath log analyzer

License:MIT License


Languages

Language:TypeScript 62.0%Language:Vue 35.0%Language:JavaScript 1.6%Language:CSS 1.2%Language:HTML 0.2%