Skip to content

HinokiSu/uipath-log-analyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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