File tree Expand file tree Collapse file tree 2 files changed +17
-13
lines changed Expand file tree Collapse file tree 2 files changed +17
-13
lines changed Original file line number Diff line number Diff line change 11@ echo off
22
33if exist " venv\" (
4+ echo Activating the virtual enviroment...
45 .\venv\Scripts\activate
6+ echo\
57
8+ echo Starting the program...
69 python main.py
710
811) else (
9- echo " Creating a virtual enviroment..."
10-
12+ echo Creating the virtual enviroment...
1113 python -m venv venv
14+ echo\
1215
16+ echo Activating the virtual enviroment...
1317 .\venv\Scripts\activate
18+ echo\
1419
15- echo " Installing dependencies..."
16-
20+ echo Installing the dependencies...
1721 pip install -r requirements.txt
22+ echo\
1823
19- echo " "
20-
24+ echo Starting the program...
2125 python main.py
2226)
Original file line number Diff line number Diff line change 22
33if [ -d " venv" ];
44then
5+ echo " Activating the virtual enviroment..."
56 source ./venv/bin/activate
67
8+ echo -e " \nStarting the program..."
79 python main.py
810
911else
10- echo " Creating a virtual enviroment..."
11-
12+ echo " Creating the virtual enviroment..."
1213 python -m venv venv
13-
14+
15+ echo -e " \nActivating the virtual enviroment..."
1416 source ./venv/bin/activate
1517
16- echo -e " \nInstalling dependencies..."
17-
18+ echo -e " \nInstalling the dependencies..."
1819 pip install -r requirements.txt
1920
20- echo " "
21-
21+ echo -e " \nStarting the program..."
2222 python main.py
2323
2424fi
You can’t perform that action at this time.
0 commit comments