File size: 376 Bytes
46f2cb3
 
 
 
23f437b
 
46f2cb3
 
 
 
 
 
 
23f437b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash
# Helper script to run query_product_design with venv activated

SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PROJECT_ROOT="$( cd "$SCRIPT_DIR/../.." && pwd )"
cd "$PROJECT_ROOT"

# Activate venv if it exists
if [ -d "venv" ]; then
    source venv/bin/activate
fi

# Run the script with all arguments
python3 src/web/query_product_design.py "$@"