#!/bin/bash

# Activate virtual environment
source venv/bin/activate

# Run FastAPI backend with uvicorn
uvicorn ai_rest_api:app --host 0.0.0.0 --port 5000 &

# Start simple HTTP-server for frontend
python3 -m http.server 8000 --directory /home/fil/Projects/suricataproject/ai_analysis/web
