-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup-python-only.bat
More file actions
37 lines (34 loc) · 898 Bytes
/
setup-python-only.bat
File metadata and controls
37 lines (34 loc) · 898 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 Setting up Restaurant Analytics System (Python-only version)...
echo.
echo Checking Python...
python --version >nul 2>&1
if %errorlevel% neq 0 (
echo ERROR: Python is not installed or not in PATH
echo Please install Python 3.8+ from: https://www.python.org/downloads/
echo.
pause
exit /b 1
)
echo.
echo Installing Python dependencies...
cd frontend
pip install -r requirements.txt
if %errorlevel% neq 0 (
echo ERROR: Failed to install Python dependencies
echo Please check your Python and pip installation
pause
exit /b 1
)
cd ..
echo.
echo Python-only setup completed!
echo.
echo NOTE: This version will run the frontend only with mock data.
echo For full functionality, you need to install Java 17+ and Maven.
echo.
echo To start the frontend:
echo 1. Run start-frontend-only.bat
echo 2. Open http://localhost:5000 in your browser
echo.
pause