-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.bat
More file actions
35 lines (28 loc) · 723 Bytes
/
build.bat
File metadata and controls
35 lines (28 loc) · 723 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
@echo off
echo 🚀 Building ThinkAble for Production...
REM Build Frontend
echo 📦 Building React Frontend...
cd frontend
call npm ci --only=production
call npm run build
if %errorlevel% neq 0 (
echo ❌ Frontend build failed!
exit /b 1
)
echo ✅ Frontend build successful!
cd ..
REM Build Backend
echo 📦 Building Spring Boot Backend...
cd backend
call mvn clean package -DskipTests
if %errorlevel% neq 0 (
echo ❌ Backend build failed!
exit /b 1
)
echo ✅ Backend build successful!
cd ..
echo 🎉 All builds completed successfully!
echo 📋 Next steps:
echo 1. Push your code to GitHub
echo 2. Connect your GitHub repo to Render
echo 3. Deploy using the render.yaml configuration