-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstart_local.bat
More file actions
43 lines (35 loc) · 1.04 KB
/
start_local.bat
File metadata and controls
43 lines (35 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
41
42
43
@echo off
echo 🚀 Starting InMailer Local Development Environment
echo ================================================
echo.
echo 📦 Setting up Backend...
cd Backend
echo Installing Python dependencies...
pip install -r requirements.txt
echo.
echo 🧪 Testing backend setup...
python test_local.py
echo.
echo 🌐 Starting Backend Server...
echo Backend will be available at: http://localhost:5000
echo Press Ctrl+C to stop the backend server
start "InMailer Backend" cmd /k "python start_server_db.py"
echo.
echo 📦 Setting up Frontend...
cd ..\frontend
echo Installing Node.js dependencies...
npm install
echo.
echo 🌐 Starting Frontend Server...
echo Frontend will be available at: http://localhost:3001
echo Press Ctrl+C to stop the frontend server
start "InMailer Frontend" cmd /k "npm start"
echo.
echo ✅ Both servers are starting up!
echo.
echo 📍 Backend: http://localhost:5000
echo 📍 Frontend: http://localhost:3001
echo 📍 Health: http://localhost:5000/api/health
echo.
echo Press any key to exit this launcher...
pause > nul