cd ~/Desktop/Fedral
./web_ai.shAdd this to your ~/.zshrc file:
alias webai="~/Desktop/Fedral/web_ai.sh"Then reload your terminal:
source ~/.zshrcNow you can just type:
webai- Open Automator (Applications → Automator)
- Create new Application
- Add "Run Shell Script" action
- Paste:
/Users/ankit/Desktop/Fedral/web_ai.sh - Save as "Web AI" on Desktop
- Double-click the icon to launch!
The web_ai.sh script:
- ✅ Checks if frontend/backend are running
- 🚀 Starts them if needed
- 🌐 Opens FEDRAL.AI in your browser
- 📊 Shows you all the URLs
- Admin Dashboard: http://localhost:5173
- Backend API: http://localhost:8000
- API Documentation: http://localhost:8000/docs
- FL Demo Dashboard: http://localhost:8501 (if running)
To stop all services:
pkill -f "npm run dev"
pkill -f "uvicorn"
pkill -f "streamlit"Enjoy your FEDRAL.AI platform! 🎉