ADM-Purchasing-Tools / app /install.bat
abdulsalam2121
Add automation bot with Flask and Playwright
5b29309
Raw
History Blame Contribute Delete
1.02 kB
@echo off
echo ============================================================
echo AdultDVDMarketplace Bot - Installation
echo ============================================================
echo.
echo [1/3] Installing Python dependencies...
.venv\Scripts\pip.exe install -r requirements.txt
if errorlevel 1 (
echo ERROR: pip install failed. Check your venv.
pause
exit /b 1
)
echo.
echo [2/3] Installing Playwright browsers (Chromium)...
.venv\Scripts\playwright.exe install chromium
if errorlevel 1 (
echo ERROR: Playwright install failed.
pause
exit /b 1
)
echo.
echo [3/3] Creating output directories...
if not exist logs mkdir logs
if not exist .browser_state mkdir .browser_state
echo.
echo ============================================================
echo Installation complete!
echo Run the bot with:
echo run.bat
echo Or manually:
echo .venv\Scripts\python.exe main.py --studio-url "URL" --min-price 6
echo ============================================================
pause