-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstart.bat
More file actions
53 lines (46 loc) Β· 1.27 KB
/
start.bat
File metadata and controls
53 lines (46 loc) Β· 1.27 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
@echo off
echo Starting INTERN.ME - AI-Powered Internship Platform
echo ==================================================
REM Check if Docker is installed
docker --version >nul 2>&1
if errorlevel 1 (
echo Docker is not installed. Please install Docker first.
pause
exit /b 1
)
REM Check if Docker Compose is installed
docker-compose --version >nul 2>&1
if errorlevel 1 (
echo Docker Compose is not installed. Please install Docker Compose first.
pause
exit /b 1
)
REM Create necessary directories
echo π Creating necessary directories...
if not exist uploads mkdir uploads
if not exist ssl mkdir ssl
REM Start the application
echo π³ Starting Docker containers...
docker-compose up -d
REM Wait for services to be ready
echo β³ Waiting for services to start...
timeout /t 10 /nobreak >nul
REM Check if services are running
echo π Checking service status...
docker-compose ps
echo.
echo β
INTERN.ME is now running!
echo.
echo π Access the application:
echo Frontend: http://localhost:3000
echo Backend API: http://localhost:8000
echo API Documentation: http://localhost:8000/docs
echo.
echo π To view logs:
echo docker-compose logs -f
echo.
echo π To stop the application:
echo docker-compose down
echo.
echo π Happy interning!
pause