-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSTART_SERVER.bat
More file actions
58 lines (51 loc) · 1.49 KB
/
Copy pathSTART_SERVER.bat
File metadata and controls
58 lines (51 loc) · 1.49 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
@echo off
REM Start GABY CLASSY COLLECTION E-Commerce Backend
REM This batch file will start the Flask backend server
echo.
echo ====================================================
echo GABY CLASSY COLLECTION - E-Commerce Backend Starter
echo ====================================================
echo.
REM Check if Python is installed
python --version >nul 2>&1
if errorlevel 1 (
echo ERROR: Python is not installed or not in PATH
echo Please install Python 3.7+ from python.org
pause
exit /b 1
)
REM Check if we're in the right directory
if not exist "payment.py" (
echo ERROR: payment.py not found
echo Please run this file from: f:\Gabriel collection\index.html\
pause
exit /b 1
)
REM Install requirements if not done
echo Checking dependencies...
pip show flask >nul 2>&1
if errorlevel 1 (
echo Installing required packages...
pip install -r requirements.txt
)
echo.
echo ====================================================
echo Starting Backend Server...
echo ====================================================
echo.
echo Admin Account:
echo Email: admin@gabyclassy.com
echo Password: Admin@123
echo.
echo Server will be available at:
echo http://localhost:3000
echo.
echo Open your browser and navigate to:
echo file:///f:/Gabriel%%20collection/index.html/html
echo.
echo Press Ctrl+C to stop the server
echo.
echo ====================================================
echo.
python payment.py
pause