-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun_app.bat
More file actions
39 lines (33 loc) · 1.01 KB
/
run_app.bat
File metadata and controls
39 lines (33 loc) · 1.01 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 BPMN Business Analysis Tool...
echo ==================================================
REM Check if Python is installed
python --version >nul 2>&1
if errorlevel 1 (
echo ❌ Error: Python is not installed or not in PATH
echo Please install Python 3.8+ from https://python.org
pause
exit /b 1
)
REM Check if we're in the right directory
if not exist "bpmn_analyzer.py" (
echo ❌ Error: bpmn_analyzer.py not found!
echo Please run this script from the project directory.
pause
exit /b 1
)
REM Install dependencies
echo 🔍 Installing dependencies...
pip install -r requirements.txt
if errorlevel 1 (
echo ❌ Failed to install dependencies
pause
exit /b 1
)
REM Launch the application
echo 🌐 Launching BPMN Analysis Tool...
echo The application will open in your default web browser.
echo If it doesn't open automatically, navigate to: http://localhost:8501
echo ==================================================
streamlit run bpmn_analyzer.py
pause