tedski999 / MLP-Job-Dashboard

A web-based Dashboard application for monitoring and alerting of automation jobs anomalies.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MLP Job Anomaly Dashboard

GitHub Build Workflow

A web-based dashboard application for the monitoring and alerting of automation jobs anomalies.

Getting Started

Starting The App

Configuration

You should first edit the values in config.json to match your needs. Specifically, you're going to need to at least input API keys so that the app has the access permissions it needs.

Using Docker

To start using Docker, run docker run -p 8080:8080 --init ghcr.io/tedski999/mlp-job-dashboard. This will download our latest package release from GitHub and start the app within a Docker container.

The app should now be visible at http://localhost:8080 within your browser.

Manually with Node.js

Alternatively, you can clone the repositry and start it manually using Node.js and npm using the following steps:

  • First clone: git clone git@github.com:tedski999/MLP-Job-Dashboard.git && cd MLP-Job-Dashboard
  • Then install production dependencies: npm install --production
  • Finally build and run the app: npm run prod

The app should now be visible at http://localhost:8080 within your browser.

Contributing

Starting the Development Environment

The development environment provides much better debugging support, code testing and automated rebuilding. You should use this instead of the production server when working on the app. You will need to have installed Node.js and npm, then you can follow these steps:

  • First clone: git clone git@github.com:tedski999/MLP-Job-Dashboard.git && cd MLP-Job-Dashboard
  • Then install all dependencies: npm install
  • Finally start development environment: npm run dev

After running all tests, the development app should now be visible at http://localhost:8080 within your browser. If you make any changes to either the Node.js server or the React.js client, the app will automatically be rebuilt and restarted.

Using a Development Database

If you're using the development environment, you'll probably want to set up the development database as well. This will use Docker to host a MariaDB database the app can query.

  • Start a new development database: docker run -p 3306:3306 -e MYSQL_ROOT_PASSWORD=dev --name mlp-devdb mariadb
  • Once it's running, initialise it with data: npm run initdb status_job.csv auto_queue.csv

Reference

Developed by students of Trinity College Dublin
Developed for internal use by Millennium Management

Contributors

Ted Johnson @tedski999
Creagh Duggan @cduggan1
Jiss Joseph @jissj9
Aoife Khan @aoife-K
Alanna Fusciardi Wallace @AlannaFusciardiWallace

Licensed under MIT

About

A web-based Dashboard application for monitoring and alerting of automation jobs anomalies.

License:MIT License


Languages

Language:JavaScript 92.2%Language:SCSS 6.4%Language:Dockerfile 1.1%Language:HTML 0.3%