Added docker and improved everything.

This commit is contained in:
2025-06-09 15:29:58 +02:00
parent 47d4ed1cc0
commit 82bb0340c4
9 changed files with 316 additions and 56 deletions

View File

@ -13,6 +13,13 @@ fi
echo "✅ Found Python: $(python3 --version)"
# Check if we're in the right directory
if [ ! -f "requirements.txt" ]; then
echo "❌ Error: requirements.txt not found!"
echo "Please run this script from the project root directory."
exit 1
fi
# Create virtual environment if it doesn't exist
if [ ! -d "venv" ]; then
echo "📦 Creating virtual environment..."
@ -23,10 +30,10 @@ fi
echo "🔧 Activating virtual environment..."
source venv/bin/activate
# Install dependencies directly (simpler approach)
echo "📚 Installing dependencies..."
# Install dependencies from requirements.txt
echo "📚 Installing dependencies from requirements.txt..."
pip install --upgrade pip
pip install fastapi uvicorn[standard] pydantic[email] python-multipart
pip install -r requirements.txt
echo ""
echo "🎉 Setup complete!"
@ -38,4 +45,4 @@ echo "💡 Press Ctrl+C to stop"
echo ""
# Start the application
python main.py --dev
python main.py --dev