Order Scripts start

This commit is contained in:
Simon Martens
2025-09-16 17:34:48 +02:00
parent ca51a6317b
commit 26660f2901
4 changed files with 317 additions and 0 deletions

17
scripts/order/run.sh Executable file
View File

@@ -0,0 +1,17 @@
#!/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 "$@"