-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstart-quick.bat
More file actions
60 lines (53 loc) · 1.39 KB
/
Copy pathstart-quick.bat
File metadata and controls
60 lines (53 loc) · 1.39 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
59
60
@echo off
echo Starting INTERN.ME - Quick Demo Version
echo =======================================
echo.
echo This version runs without Docker or database
echo Perfect for testing and demonstration
echo.
REM Check if Python is installed
python --version >nul 2>&1
if errorlevel 1 (
echo ERROR: Python is not installed
echo Please install Python from https://www.python.org/downloads/
pause
exit /b 1
)
REM Check if Node.js is installed
node --version >nul 2>&1
if errorlevel 1 (
echo ERROR: Node.js is not installed
echo Please install Node.js from https://nodejs.org/
pause
exit /b 1
)
echo All prerequisites found!
echo.
REM Start backend in background
echo Starting backend server...
cd backend
start /min cmd /c "python main-simple.py"
cd ..
REM Wait for backend to start
echo Waiting for backend to start...
timeout /t 3 /nobreak >nul
REM Start frontend
echo Starting frontend server...
cd frontend
start /min cmd /c "npm install && npm start"
cd ..
echo.
echo =======================================
echo INTERN.ME is starting up!
echo.
echo Backend: http://localhost:8000
echo Frontend: http://localhost:3000
echo API Docs: http://localhost:8000/docs
echo.
echo Both servers are starting in minimized windows.
echo Check your taskbar for the command windows.
echo.
echo This is a simplified version for testing.
echo For full functionality, install Docker Desktop.
echo.
pause