sdlc-agent / scripts /setup /run_with_venv.sh
Veeru-c's picture
initial commit
23f437b
#!/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 "$@"