forked from Dhruv-Panicker/ExcelGuard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.bat
24 lines (20 loc) · 1007 Bytes
/
setup.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
@echo off
REM Install dependencies
python -m pip install -r requirements.txt >NUL 2>&1
echo Installed necessary Python libraries.
REM Set environment variables within the virtual environment
SET FLASK_APP=main
SET FLASK_ENV=development
SET FLASK_DEBUG=1
echo Virtual environment variables set.
REM Echo ExcelGuard ASCII art
echo __________________________________________________________________________
echo ___________ . __ ________ .___
echo \_ _____/__ ___ ____ ____^| ^| / _____/ __ _______ _______ __^| _/
echo ^| __^)_\ \/ // ___\/ __ \^| ^| / \ ___^| ^| \__ \\_ __ \/ __ ^|
echo ^| \^> ^<\ \__\ ___/^| ^|_\ \_\ \ ^| // __ \^| ^| \/ /_/ ^|
echo /_______ /__/\__\\___^>^|____\^|_____/\______ /____/^|____ /__^| \____^|
echo \/ \/ \/
echo _________________________________________________________________________
REM Run application
flask run