mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-17 13:55:08 +00:00
payments app installation issue fixed
This commit is contained in:
parent
f04f66a82e
commit
c39e86d319
1 changed files with 7 additions and 0 deletions
|
|
@ -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:"
|
||||
|
|
|
|||
Loading…
Reference in a new issue