-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeploy.bat
More file actions
39 lines (33 loc) Β· 1.03 KB
/
Copy pathdeploy.bat
File metadata and controls
39 lines (33 loc) Β· 1.03 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
@echo off
echo π Starting Vercel deployment for rkit File Converter...
REM Check if Vercel CLI is installed
vercel --version >nul 2>&1
if errorlevel 1 (
echo β Vercel CLI is not installed. Please install it first:
echo npm i -g vercel
pause
exit /b 1
)
REM Check if user is logged in to Vercel
vercel whoami >nul 2>&1
if errorlevel 1 (
echo π Please login to Vercel first:
vercel login
)
REM Create necessary directories if they don't exist
if not exist "uploads" mkdir uploads
if not exist "output" mkdir output
echo π¦ Preparing project for deployment...
REM Deploy to Vercel
echo π Deploying to Vercel...
vercel --prod
echo β
Deployment completed!
echo.
echo π Important Notes:
echo β’ Vercel has a 10-second timeout limit for serverless functions
echo β’ File processing is limited to 50MB
echo β’ Pandoc may not be available in Vercel's environment
echo β’ For full functionality, consider using Heroku or DigitalOcean
echo.
echo π Your app should now be live at the URL provided above
pause