You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
388 B

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