From f04f66a82edaab3afe77a64575ec0a2238a5bb21 Mon Sep 17 00:00:00 2001 From: Mate Majoros Date: Fri, 29 Aug 2025 07:00:00 +0300 Subject: [PATCH] payments app is installed to site --- scripts/create-site.sh | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/scripts/create-site.sh b/scripts/create-site.sh index f24a2caf..60be3fd8 100755 --- a/scripts/create-site.sh +++ b/scripts/create-site.sh @@ -30,13 +30,21 @@ docker compose exec -T backend bench new-site \ --db-root-password="$MARIADB_ROOT_PASSWORD" \ "$SITE_NAME" +# Install AI Tutor Chat +echo "📦 Installing AI Tutor Chat..." +docker compose exec -T backend bench --site "$SITE_NAME" install-app ai_tutor_chat + # Install LMS echo "📦 Installing Academy LMS..." docker compose exec -T backend bench --site "$SITE_NAME" install-app lms -# Install AI Tutor Chat -echo "📦 Installing AI Tutor Chat..." -docker compose exec -T backend bench --site "$SITE_NAME" install-app ai_tutor_chat +# Download Payments App +echo "📦 Downloading Payments App..." +docker compose exec -T backend bench get-app payments + +# Install Payments App +echo "📦 Installing Payments App..." +docker compose exec -T backend bench --site "$SITE_NAME" install-app payments # Set as default site (optional) SET_DEFAULT_SITE_FLAG="${2:-n}"