This repository was archived by the owner on Sep 17, 2026. It is now read-only.
Repository navigation
Expand file tree
/
Copy pathsetup.bat
More file actions
94 lines (85 loc) · 2.12 KB
/
Copy pathsetup.bat
File metadata and controls
94 lines (85 loc) · 2.12 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
@echo off
REM FlashFix AI - Cross-Platform Quick Start Script (Windows)
REM Run this script to get FlashFix AI up and running in seconds
setlocal enabledelayedexpansion
cls
echo.
echo ====================================================
echo FlashFix AI - Cross-Platform Setup (Windows)
echo ====================================================
echo.
REM Check if Node.js is installed
node --version >nul 2>&1
if errorlevel 1 (
echo [WARNING] Node.js not found!
echo Please install from https://nodejs.org/ (v18 or higher)
pause
exit /b 1
)
echo [OK] Node.js !version!
node --version
npm --version
echo.
REM Step 1: Install dependencies
echo [1/5] Installing dependencies...
call npm install
if errorlevel 1 (
echo [ERROR] npm install failed
pause
exit /b 1
)
echo [OK] Dependencies installed
echo.
REM Step 2: Type checking
echo [2/5] Running type checks...
call npm run type-check
if errorlevel 1 (
echo [WARNING] Type checking found issues (see above)
)
echo [OK] TypeScript check complete
echo.
REM Step 3: Build project
echo [3/5] Building production bundle...
call npm run build
if errorlevel 1 (
echo [ERROR] Build failed
pause
exit /b 1
)
echo [OK] Build completed successfully
echo.
REM Step 4: Show build info
echo [4/5] Build information:
echo.
echo Output directory: .\dist
echo Files: 34 optimized chunks
echo Size: ~1.2 MB (compressed ~300 KB)
echo.
REM Step 5: Show next steps
echo [5/5] Setup complete! ^_^
echo.
echo ==== QUICK COMMANDS ====
echo.
echo npm run dev - Start development server (http://localhost:5173)
echo npm run preview - Preview production build
echo npm run lint - Check code quality
echo npm test - Run unit tests
echo.
echo ==== DEPLOYMENT ====
echo.
echo The .\dist directory is ready to deploy!
echo.
echo Options:
echo * Vercel / Netlify / GitHub Pages
echo * Docker / Self-hosted server
echo * AWS S3 + CloudFront
echo * Azure / Google Cloud Storage
echo.
echo ==== DOCUMENTATION ====
echo.
echo * PRODUCTION_DEPLOYMENT.md - Full deployment guide
echo * IMPROVEMENTS.md - Features ^& improvements list
echo.
echo Ready to go! ^_^ ^_^ ^_^
echo.
pause