Initial commit: Screen Leads app
Screen-capture lead tool: capture agent, Claude vision extractor with pluggable site recipes (LinkedIn), canonical funnel model, SQLite storage, FastAPI backend, dashboard, and setup/run scripts. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
@echo off
|
||||
REM One-command runner for Screen Leads (Windows).
|
||||
cd /d "%~dp0"
|
||||
|
||||
if not exist ".venv" (
|
||||
echo Creating virtual environment (.venv)...
|
||||
python -m venv .venv
|
||||
)
|
||||
call .venv\Scripts\activate
|
||||
|
||||
if not exist ".venv\.installed" (
|
||||
echo Installing dependencies...
|
||||
pip install -q --upgrade pip
|
||||
pip install -q -r requirements.txt
|
||||
type nul > .venv\.installed
|
||||
)
|
||||
|
||||
if "%ANTHROPIC_API_KEY%"=="" if not exist ".env" (
|
||||
echo ANTHROPIC_API_KEY is not set and no .env file was found.
|
||||
echo set ANTHROPIC_API_KEY=sk-ant-... ^(this terminal^)
|
||||
echo or copy .env.example to .env and edit it
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
if "%SCREEN_LEADS_HOST%"=="" set SCREEN_LEADS_HOST=127.0.0.1
|
||||
if "%SCREEN_LEADS_PORT%"=="" set SCREEN_LEADS_PORT=8000
|
||||
echo Starting Screen Leads at http://%SCREEN_LEADS_HOST%:%SCREEN_LEADS_PORT% (Ctrl-C to stop)
|
||||
python main.py
|
||||
Reference in New Issue
Block a user