Skip to content

Commit

Permalink
fix: fix lms provision script
Browse files Browse the repository at this point in the history
  • Loading branch information
UsamaSadiq committed Sep 11, 2024
1 parent 63badcc commit 7c69f04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 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 pip install -e . -r requirements/edx/base.txt -r requirements/edx/assets.txt && npm clean-install'

#Installing prereqs crashes the process
docker compose restart $app
Expand Down

0 comments on commit 7c69f04

Please sign in to comment.