bugfix
This commit is contained in:
parent
1518acf709
commit
1026edc822
4
build.sh
4
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'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user