This commit is contained in:
yumoqing 2026-04-16 15:19:08 +08:00
parent 1518acf709
commit 1026edc822

View File

@ -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'