#!/bin/bash
echo ""
echo " =========================================="
echo "  Network Incident Report System"
echo "  BorderIT Solutions Ltd"
echo " =========================================="
echo ""

# Check Python
if ! command -v python3 &>/dev/null; then
    echo " ERROR: Python 3 not found. Install it first."
    exit 1
fi

echo " Checking dependencies..."
pip3 install flask reportlab --quiet --disable-pip-version-check

echo " Starting application..."
echo " Open your browser at: http://127.0.0.1:5050"
echo " Press Ctrl+C to stop."
echo ""
python3 app.py
