mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-21 07:15:09 +00:00
downloading payments app only when needed
This commit is contained in:
parent
f449a3d521
commit
68bf73bc77
1 changed files with 7 additions and 3 deletions
|
|
@ -38,9 +38,13 @@ docker compose exec -T backend bench --site "$SITE_NAME" install-app ai_tutor_ch
|
||||||
echo "📦 Installing Academy LMS..."
|
echo "📦 Installing Academy LMS..."
|
||||||
docker compose exec -T backend bench --site "$SITE_NAME" install-app lms
|
docker compose exec -T backend bench --site "$SITE_NAME" install-app lms
|
||||||
|
|
||||||
# Download Payments App
|
# Download Payments App (if needed)
|
||||||
echo "📦 Downloading Payments App..."
|
if docker compose exec -T backend test -d apps/payments; then
|
||||||
docker compose exec -T backend bench get-app payments
|
echo "✅ Payments App already downloaded"
|
||||||
|
else
|
||||||
|
echo "📦 Downloading Payments App..."
|
||||||
|
docker compose exec -T backend bench get-app payments
|
||||||
|
fi
|
||||||
|
|
||||||
# Ensure Payments is installed into the Python environment (editable install)
|
# Ensure Payments is installed into the Python environment (editable install)
|
||||||
echo "🐍 Installing Payments Python package into venv..."
|
echo "🐍 Installing Payments Python package into venv..."
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue