-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLaunch PBI-PR Analyzer.bat
More file actions
44 lines (39 loc) · 1000 Bytes
/
Launch PBI-PR Analyzer.bat
File metadata and controls
44 lines (39 loc) · 1000 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
36
37
38
39
40
41
42
43
44
@echo off
title PBI/PR Analyzer - Web Version
echo.
echo ============================================
echo PBI/PR Analyzer - Web Version
echo Starting server...
echo ============================================
echo.
REM Check if node_modules exists
if not exist "node_modules" (
echo [ERROR] Dependencies not installed!
echo.
echo Please run: npm install
echo.
pause
exit /b 1
)
REM No API key needed - uses AWS Bedrock with your existing AWS credentials
REM Check if dist exists, if not build it
if not exist "dist\pbi-pr-analyzer\browser\index.html" (
echo Building Angular application...
call npm run build
if %errorLevel% neq 0 (
echo [ERROR] Build failed!
pause
exit /b 1
)
)
REM Start the server
echo Starting server...
echo.
node server.js
REM If we get here, the server stopped
echo.
echo ============================================
echo Server stopped
echo ============================================
echo.
pause