Files
kgpz_web/scripts/order/run.sh
2025-09-16 17:34:48 +02:00

17 lines
393 B
Bash
Executable File

#!/bin/bash
# Script to run the order hints processor with the virtual environment
cd "$(dirname "$0")"
# Check if virtual environment exists
if [ ! -d "venv" ]; then
echo "Creating virtual environment..."
python -m venv venv
source venv/bin/activate
pip install lxml
else
source venv/bin/activate
fi
# Run the script with passed arguments
python add_order_hints.py "$@"