From bd0bb26a6f7e0d0710ed5aaed2dee8576bfb0d65 Mon Sep 17 00:00:00 2001 From: Usama Sadiq Date: Wed, 11 Sep 2024 19:53:43 +0500 Subject: [PATCH] fix: replace paver update_assets in provision-lms --- provision-lms.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/provision-lms.sh b/provision-lms.sh index 586d13ed10..c1ee7c4ce5 100755 --- a/provision-lms.sh +++ b/provision-lms.sh @@ -79,7 +79,7 @@ done # Create static assets for both LMS and CMS for app in "${apps[@]}"; do - docker compose exec -T $app bash -e -c 'source /edx/app/edxapp/edxapp_env && cd /edx/app/edxapp/edx-platform && paver update_assets --settings devstack_docker' + docker compose exec -T $app bash -e -c 'source /edx/app/edxapp/edxapp_env && cd /edx/app/edxapp/edx-platform && npm run build && ./manage.py lms collectstatic --noinput --settings devstack_docker && ./manage.py cms collectstatic --noinput --settings devstack_docker' done # Allow LMS SSO for CMS