agentsight-api / start_server.sh
Minato Namikaze
Deploy to Hugging Face Spaces
2aed081
Raw
History Blame Contribute Delete
704 Bytes
#!/bin/bash
# start_server.sh β€” Start the AgentSight FastAPI backend
# Usage: ./start_server.sh
set -e
cd "/home/minato/Documents/Agentic Ai Project/agentsight"
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
echo " AgentSight API Server"
echo " API docs: http://localhost:8000/docs"
echo " Dashboard: run cd dashboard_react && npm run dev"
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
source venv/bin/activate
venv/bin/uvicorn product.api_server:app --reload --port 8000 --host 0.0.0.0