#!/bin/bash
# TransLynx Backend Startup Script

# Load environment variables
if [ -f .env ]; then
    export $(cat .env | grep -v '^#' | xargs)
fi

# Start server
echo "Starting TransLynx Backend on ceph2401..."
echo "Internal: http://192.168.1.161:8000"
echo "Public: https://translynx.ai (via omni-node proxy)"
echo "API docs: https://translynx.ai/docs"
echo ""

# Run with uvicorn
uvicorn main:app --host 0.0.0.0 --port 8000 --reload
