From 1026edc822d78d51d4c25f81c0627e75d9b53746 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Thu, 16 Apr 2026 15:19:08 +0800 Subject: [PATCH] bugfix --- build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index baab285..a5575dd 100755 --- a/build.sh +++ b/build.sh @@ -9,6 +9,8 @@ echo "🚀 Building Integrated CRM Application at: $APP_DIR" mkdir -p "$APP_DIR/pkgs" mkdir -p "$APP_DIR/logs" mkdir -p "$APP_DIR/files" +python3 -m venv py3 +source py3/bin/activate # Step 2: Setup Python virtual environment and install core dependencies echo "📦 Installing core dependencies..." @@ -107,7 +109,7 @@ echo "⚙️ Creating service scripts..." cat > "$APP_DIR/start.sh" << 'EOF' #!/bin/bash source .env -python3 app/integrated_crm_app.py --port 8080 --root wwwroot/ +$APP_DIR/py3/bin/python app/integrated_crm_app.py --port 8080 --root wwwroot/ EOF cat > "$APP_DIR/stop.sh" << 'EOF'