Repository navigation
Expand file tree
/
Copy pathsetup.bat
More file actions
97 lines (90 loc) · 2.23 KB
/
Copy pathsetup.bat
File metadata and controls
97 lines (90 loc) · 2.23 KB
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
@echo off
REM GitHub Trending Agent - Complete Setup Script
echo ============================================
echo GitHub Trending Agent Setup
echo ============================================
echo.
REM Check Python
echo [1/4] Checking Python...
python --version >nul 2>&1
if errorlevel 1 (
echo ❌ Python not found! Please install from python.org
pause
exit /b 1
)
echo ✅ Python found
REM Check Node.js
echo.
echo [2/4] Checking Node.js...
node --version >nul 2>&1
if errorlevel 1 (
echo ⚠️ Node.js not found (required for dashboard)
) else (
echo ✅ Node.js found
)
REM Check Docker
echo.
echo [3/4] Checking Docker...
docker --version >nul 2>&1
if errorlevel 1 (
echo ⚠️ Docker not found (optional for Docker projects)
) else (
echo ✅ Docker found
)
REM Install Dashboard
echo.
echo [4/4] Installing Dashboard dependencies...
cd dashboard
call npm install
if errorlevel 1 (
echo ⚠️ Failed to install dashboard dependencies (Node.js may not be installed)
) else (
echo ✅ Dashboard dependencies installed
)
REM Install Python dependencies
echo.
echo Installing Python dependencies...
cd ..
pip install -r requirements.txt >nul 2>&1
if errorlevel 1 (
echo ⚠️ Some Python dependencies may need manual installation
) else (
echo ✅ Python dependencies installed
)
REM Create workspace
echo.
echo Creating workspace directory...
mkdir C:\github-trending-workspace 2>nul
echo ✅ Workspace created
REM Success!
echo.
echo ============================================
echo ✅ Setup Complete!
echo ============================================
echo.
echo Next steps:
echo.
echo 1. Configure Claude Desktop MCP:
echo Edit: %%APPDATA%%\Claude\claude_desktop_config.json
echo Add the github-trending MCP server configuration
echo (See docs/mcp-guide.md for details)
echo.
echo 2. Restart Claude Desktop
echo.
echo 3. Start the dashboard:
echo cd dashboard
echo npm run dev
echo.
echo 4. Start the API server:
echo cd api
echo python main.py
echo.
echo 5. Optional - Install Ollama for local LLM:
echo Download from: ollama.ai
echo Run: ollama pull llama3
echo.
echo 6. Run the agent CLI:
echo python agent.py --help
echo.
echo ============================================
pause