Skip to content

Files

Latest commit

 

History

History
30 lines (23 loc) · 1.01 KB

INSTALL.md

File metadata and controls

30 lines (23 loc) · 1.01 KB

log-classifier Configuration & Build Instructions


Prerequisites

Download log-classifier

Choose the path you want to install log-classifier into. Let us assume this is /home/$USER/log-classifier

$ git clone https://github.com/input-output-hk/log-classifier.git /home/$USER/log-classifier
$ cd /home/$USER/log-classifier

Configuring log-classifier

You will need the following:

  • Numeric ID of the user assigned tickets you want to analyze ($ASSIGNED_TO)
  • API Token ($API_TOKEN)

An API can be generated for you by an admin. The admin can follow these instructions.2

$ cd /home/$USER/log-classifier
$ echo -n $API_TOKEN > token
$ echo -n $ASSIGNED_TO > assign_to #NOTE: The -n is important, without it echo will append a newline char and it will not work.
$ stack build