payments app installation issue fixed

This commit is contained in:
Mate Majoros 2026-01-08 14:01:23 +02:00
parent f04f66a82e
commit c39e86d319

View file

@ -42,6 +42,10 @@ docker compose exec -T backend bench --site "$SITE_NAME" install-app lms
echo "📦 Downloading Payments App..."
docker compose exec -T backend bench get-app payments
# Ensure Payments is installed into the Python environment (editable install)
echo "🐍 Installing Payments Python package into venv..."
docker compose exec -T backend bash -lc 'cd /home/frappe/frappe-bench && pip install -e apps/payments && python -c "import payments;"'
# Install Payments App
echo "📦 Installing Payments App..."
docker compose exec -T backend bench --site "$SITE_NAME" install-app payments
@ -62,6 +66,9 @@ docker compose exec -T backend bench --site "$SITE_NAME" clear-cache
echo "🔄 Running migrations..."
docker compose exec -T backend bench --site "$SITE_NAME" migrate
# Restarting backend
docker compose restart backend
echo "✅ Site created successfully!"
echo ""
echo "📋 Site details:"