-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstart.bat
More file actions
37 lines (31 loc) · 817 Bytes
/
Copy pathstart.bat
File metadata and controls
37 lines (31 loc) · 817 Bytes
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
@echo off
echo ============================================================
echo FINANCIAL NEWS IMPACT ANALYZER - QUICK START
echo ============================================================
echo.
REM Check if virtual environment exists
if not exist "venv\" (
echo Virtual environment not found. Creating...
python -m venv venv
echo.
)
REM Activate virtual environment
call venv\Scripts\activate
REM Check if requirements are installed
echo Checking dependencies...
pip install -r requirements.txt --quiet
REM Check if .env exists
if not exist ".env" (
echo.
echo WARNING: .env file not found!
echo Please create .env file from .env.example and add your API key
echo.
pause
exit /b 1
)
REM Start the application
echo.
echo Starting application...
echo.
python run.py
pause