-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstart.sh
More file actions
executable file
·26 lines (21 loc) · 664 Bytes
/
start.sh
File metadata and controls
executable file
·26 lines (21 loc) · 664 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
#!/bin/bash
set -e
# Name of the virtual environment directory
VENV_DIR=".venv"
# Check if the virtual environment exists
if [ ! -d "$VENV_DIR" ]; then
echo "🔧 Creating virtual environment in $VENV_DIR..."
python3 -m venv "$VENV_DIR"
else
echo "✅ Virtual environment found."
fi
# Activate the virtual environment
echo "🔌 Activating virtual environment..."
source "$VENV_DIR/bin/activate"
# Install/Update dependencies
echo "📦 Installing/Updating dependencies..."
# We use -e (editable) so you can modify the code and see changes immediately
pip install -e .
# Start the application
echo "🚀 Starting ASMR Pro Cutter..."
python gui.py