hm_ai_qc_report_tool/run.sh
nickviljoen 96d0bf95e1 Reporting updated.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-14 09:14:00 +02:00

27 lines
641 B
Bash
Executable file

#!/bin/bash
# Run script for development mode
echo "Starting QC Report Dashboard (Development Mode)..."
echo ""
# Activate virtual environment
source venv/bin/activate
# Check if Box config exists
if [ ! -f "config/box_config.json" ]; then
echo "ERROR: Box config file not found at config/box_config.json"
echo "Please add your Box JWT configuration file."
exit 1
fi
# Check if .env exists
if [ ! -f ".env" ]; then
echo "WARNING: .env file not found. Using defaults."
fi
# Run Flask app
echo "Starting Flask development server..."
echo "App will be available at: http://localhost:7183"
echo ""
./venv/bin/python app.py