-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.bat
More file actions
95 lines (86 loc) · 2.34 KB
/
setup.bat
File metadata and controls
95 lines (86 loc) · 2.34 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
@echo off
REM YC Cofounder Matcher - Quick Setup Script (Windows)
REM This script automates the initial setup process
echo ==================================
echo YC Cofounder Matcher - Setup
echo ==================================
echo.
REM Check Python version
echo Checking Python version...
python --version
if %errorlevel% neq 0 (
echo Error: Python not found
echo Please install Python 3.9 or higher from python.org
pause
exit /b 1
)
echo Python found
echo.
REM Create virtual environment
echo Creating virtual environment...
if exist venv (
echo Warning: venv already exists, skipping creation
) else (
python -m venv venv
echo Virtual environment created
)
echo.
REM Activate virtual environment
echo Activating virtual environment...
call venv\Scripts\activate.bat
echo Virtual environment activated
echo.
REM Install Python dependencies
echo Installing Python dependencies...
python -m pip install --upgrade pip >nul 2>&1
pip install -r requirements.txt
echo Python dependencies installed
echo.
REM Install Playwright browsers
echo Installing Playwright Firefox...
playwright install firefox
echo Playwright Firefox installed
echo.
REM Create .env file if it doesn't exist
if exist .env (
echo Warning: .env file already exists, skipping creation
) else (
echo Creating .env file from template...
copy .env.example .env
echo .env file created
echo.
echo IMPORTANT: Edit .env and add your Gemini API key!
echo Get your key at: https://aistudio.google.com/app/apikey
)
echo.
REM Create logs directory
if not exist logs mkdir logs
echo Logs directory created
echo.
echo ==================================
echo Setup Complete!
echo ==================================
echo.
echo Next steps:
echo.
echo 1. Edit .env and add your GEMINI_API_KEY
echo Get it at: https://aistudio.google.com/app/apikey
echo.
echo 2. Customize your prompts:
echo - prompts\evaluation.txt (scoring criteria)
echo - prompts\invitation.txt (message template)
echo.
echo 3. Authenticate with YC Startup School:
echo python main.py --auth
echo.
echo 4. Run your first test:
echo python main.py --dry-run --max-invites 3
echo.
echo 5. Start matching:
echo python main.py --interactive --max-invites 5
echo.
echo For detailed instructions, see README.md
echo.
echo Warning: This tool may violate YC TOS. Use responsibly!
echo.
pause