File size: 1,583 Bytes
d6d843f |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 |
# 🚀 Quick Start - 3 دقیقه تا اجرا
## روش 1: Python (ساده)
```bash
unzip crypto-hf-integrated-final.zip
cd crypto-dt-source-hf-integrated
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
uvicorn hf_unified_server:app --port 7860
```
**سپس:** http://localhost:7860
## روش 2: Docker (توصیه)
```bash
unzip crypto-hf-integrated-final.zip
cd crypto-dt-source-hf-integrated
docker build -f Dockerfile.optimized -t crypto-hub .
docker run -d -p 7860:7860 --name crypto-hub crypto-hub
```
**سپس:** http://localhost:7860
## تست
```bash
./test_endpoints.sh
```
## Dashboard Tabs
1. **Overview** - نمای کلی
2. **Market** - بازار
3. **Chart Lab** - نمودارها
4. **Sentiment & AI** - احساسات (10+ models)
5. **News** - اخبار با sentiment
6. **Providers** - 95 منابع
7. **API Explorer** - تست API
8. **Diagnostics** - سلامت سیستم
9. **Datasets & Models** - 14 dataset + 10 models
10. **Settings** - تنظیمات
## Features
- ✅ Real-time data (WebSocket)
- ✅ Ensemble sentiment (10+ HF models)
- ✅ 14 crypto datasets
- ✅ 95 API providers
- ✅ Chart analysis
- ✅ News aggregation
## مشکلات رایج
**Port in use:**
```bash
uvicorn hf_unified_server:app --port 8000
```
**Model download:**
```bash
export HF_TOKEN=your_token
```
**Dependencies:**
```bash
pip install -r requirements.txt
```
## مستندات
- `README_HF_INTEGRATION.md` - کامل
- `DEPLOYMENT_GUIDE.md` - Production
- `ADMIN_HTML_INTEGRATION.md` - Frontend
**Ready!** 🚀
|