Skip to content

aramogs/Monitor

Repository files navigation

Python Monitor

Program dedicated to receive requests and process them via SAPscript

Using RabbitMQ RPC protocol the Monitor receives and process requests from the clients


Prerequisites

Required:

Optional:

Open a terminal in the root directory and run the following commands.

Note: For security reasons .env file is not included

pip install -r requirements.txt
python .\Monitor.py

.env structure

Required:

  • SAP_USER=****
  • SAP_PASS=****
  • SAP_NAME=****
  • SAP_DEST_STYPE=****
  • SAP_DEST_SBIN=****

Optional:

  • PRINT_SERVER=****
  • BARTENDER_SERVER=****
  • BARTENDER_PORT=****
  • DB_USER=****
  • DB_PASSWORD=****
  • DB_HOST=****
  • DB_CONFIG_NAME=****
  • DB_PT_NAME=****
  • DB_BARTENDER_NAME=****

Building Executable

Open terminal in the root directory and run the following commands:

pip install pyinstaller
python -m PyInstaller  .\Monitor.spec

Go to the created folder "build" and double click Monitor.exe

About

Python Monitor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages