Really-amin's picture
Upload 295 files
d6d843f verified
# Quick Start - Admin Dashboard
## πŸš€ Start in 3 Commands
```bash
cd /workspace
pip install -r requirements.txt
python3 api_server_extended.py
```
Then open: **http://localhost:7860/**
---
## πŸ“Š What You'll See
### Admin Dashboard with 7 Tabs:
1. **πŸ“Š Status** - System overview, live BTC/ETH/BNB prices
2. **πŸ”Œ Providers** - List of 94 providers from APL
3. **πŸ’° Market Data** - Real prices, sentiment, trending
4. **πŸ€– APL Scanner** - Run provider discovery scans
5. **🧠 HF Models** - Hugging Face models management
6. **πŸ”§ Diagnostics** - System health checks
7. **πŸ“ Logs** - System logs and errors
---
## βœ… Key Features
### Real Data Only
- βœ… Live market data from CoinGecko
- βœ… Sentiment from Alternative.me
- βœ… Providers from APL validation
- βœ… NO mock/fake data anywhere
### Admin Actions
- πŸ”„ Refresh data in real-time
- πŸ€– Run APL scans to discover providers
- πŸ”§ Run diagnostics with auto-fix
- πŸ“Š View provider statistics
- 🧠 Monitor HF model health
---
## 🌐 Deploy to HuggingFace Spaces
### Already Configured!
1. Push to HF Space:
```bash
git push
```
2. Access at: `https://your-space.hf.space/`
3. Admin dashboard loads automatically!
**Everything is HF Spaces compatible:**
- βœ… Relative URLs
- βœ… Port 7860
- βœ… Dockerfile ready
- βœ… Static files mounted
- βœ… CORS configured
---
## πŸ“– First Steps
### 1. Check System Status
- Open Status tab (default)
- See provider counts
- View live market prices
### 2. Run APL Scan
- Go to APL Scanner tab
- Click "πŸ€– Run APL Scan"
- Wait 1-2 minutes
- See updated provider counts
### 3. View Providers
- Go to Providers tab
- See all 94 validated providers
- Filter by category
### 4. Monitor Market
- Go to Market Data tab
- Click "πŸ”„ Refresh Prices"
- See live BTC/ETH/BNB data
- View Fear & Greed Index
- Check trending coins
### 5. Check Diagnostics
- Go to Diagnostics tab
- Click "πŸ”§ Run with Auto-Fix"
- See system health status
---
## πŸ”§ Troubleshooting
### No providers showing?
β†’ Run APL scan (APL Scanner tab β†’ Run APL Scan)
### Market data fails?
β†’ Check internet connection to CoinGecko
β†’ May hit rate limits (wait a few minutes)
### APL scan fails?
β†’ Check Python dependencies installed
β†’ Check auto_provider_loader.py exists
---
## πŸ“š Documentation
- `ADMIN_DASHBOARD_COMPLETE.md` - Full documentation
- `APL_USAGE_GUIDE.md` - APL usage guide
- `APL_FINAL_SUMMARY.md` - APL implementation summary
---
## ✨ That's It!
**You now have a fully functional admin dashboard with:**
- Real-time market data
- 94 validated providers
- APL integration
- HF models support
- Zero mock data
- HuggingFace Spaces ready
**Start managing your crypto data sources now!** πŸš€