-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.bat
More file actions
executable file
·40 lines (32 loc) · 1.04 KB
/
Copy pathsetup.bat
File metadata and controls
executable file
·40 lines (32 loc) · 1.04 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
@echo off
REM Setup script for Telegram Expense Tracker (Windows)
echo Setting up Telegram Expense Tracker...
REM Create virtual environment
echo Creating virtual environment...
python -m venv venv
REM Activate virtual environment
echo Activating virtual environment...
call venv\Scripts\activate.bat
REM Upgrade pip
echo Upgrading pip...
python -m pip install --upgrade pip
REM Install dependencies
echo Installing dependencies...
pip install -r requirements.txt
REM Copy environment template
if not exist .env (
echo Creating .env file from template...
copy .env.example .env
echo Please edit .env file with your configuration
) else (
echo .env file already exists, skipping...
)
echo.
echo Setup complete! 🎉
echo.
echo Next steps:
echo 1. Edit .env file with your Telegram bot token and Google credentials
echo 2. Set up Google Sheets API and download credentials.json
echo 3. Run 'venv\Scripts\activate.bat' to activate the virtual environment
echo 4. Run 'python main.py' to start the bot
pause