-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstart.sh
More file actions
executable file
Β·31 lines (24 loc) Β· 854 Bytes
/
start.sh
File metadata and controls
executable file
Β·31 lines (24 loc) Β· 854 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
#!/bin/bash
# FinOps Journey Simulation Game Startup Script
echo "π Starting FinOps Journey Simulation Game..."
# Check if Python is installed
if ! command -v python3 &> /dev/null; then
echo "β Python 3 is not installed. Please install Python 3 and try again."
exit 1
fi
# Check if pip is installed
if ! command -v pip3 &> /dev/null; then
echo "β pip3 is not installed. Please install pip3 and try again."
exit 1
fi
# Install dependencies if requirements.txt exists
if [ -f "requirements.txt" ]; then
echo "π¦ Installing dependencies..."
pip3 install -r requirements.txt
fi
# Start the Streamlit application
echo "π Starting Streamlit application..."
echo "π± The application will be available at: http://localhost:8501"
echo "π Press Ctrl+C to stop the application"
echo ""
streamlit run streamlit_app.py