#!/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