Skip to content

Commit

Permalink
test: revert provision lms changes
Browse files Browse the repository at this point in the history
  • Loading branch information
UsamaSadiq committed Sep 11, 2024
1 parent cae3197 commit 4fbfce6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions provision-lms.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ done
for app in "${apps[@]}"; do
docker compose exec -T $app bash -e -c 'apt-get update && apt-get -y install --no-install-recommends git'

docker compose exec -T $app bash -e -c 'source /edx/app/edxapp/edxapp_env && cd /edx/app/edxapp/edx-platform && NO_PYTHON_UNINSTALL=1 pip install -r requirements/edx/base.txt -r requirements/edx/assets.txt && npm clean-install'
docker compose exec -T $app bash -e -c 'source /edx/app/edxapp/edxapp_env && cd /edx/app/edxapp/edx-platform && NO_PYTHON_UNINSTALL=1 paver install_prereqs'

#Installing prereqs crashes the process
docker compose restart $app
Expand Down Expand Up @@ -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 && npm run build && ./manage.py lms collectstatic --noinput --settings devstack_docker && ./manage.py cms collectstatic --noinput --settings devstack_docker'
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'
done

# Allow LMS SSO for CMS
Expand Down

0 comments on commit 4fbfce6

Please sign in to comment.