-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeploy.bat
More file actions
33 lines (27 loc) · 895 Bytes
/
deploy.bat
File metadata and controls
33 lines (27 loc) · 895 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
@echo off
echo === Deploying Updated RAG API to Railway ===
REM Check if we're in the right directory
if not exist "main.py" (
echo ❌ Error: main.py not found. Please run this script from the project root.
exit /b 1
)
echo ✅ Found main.py
REM Check if Railway CLI is installed
railway --version >nul 2>&1
if errorlevel 1 (
echo ❌ Railway CLI not found. Please install it first:
echo npm install -g @railway/cli
exit /b 1
)
echo ✅ Railway CLI found
REM Deploy to Railway
echo 🚀 Deploying to Railway...
railway up
echo ✅ Deployment completed!
echo.
echo 📋 Next steps:
echo 1. Test the health endpoint: https://bajajhack-production-cf2c.up.railway.app/health
echo 2. Run the hackathon test: python test_hackathon.py
echo 3. Or use PowerShell: .\test_hackathon.ps1
echo.
echo 🔧 The application now supports up to 10 questions for hackathon requirements.