#!/bin/bash echo "Starting A Stock AI Backend Server..." echo "" cd "$(dirname "$0")" if [ ! -f ".env" ]; then echo "Warning: .env file not found, using .env.example" cp .env.example .env fi echo "Installing dependencies..." pip install -r requirements.txt echo "" echo "Starting server on http://localhost:8000" echo "Press Ctrl+C to stop the server" echo "" python main.py