Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

Commit

Permalink
fix: Temporary workaround until we can update for the new demo course (
Browse files Browse the repository at this point in the history
…#1274)

The tag open-release/quince.1 happens to be the commit just before the
demo course update.
  • Loading branch information
timmc-edx authored Feb 7, 2024
1 parent 18d97a7 commit 491b3ca
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion provision-lms.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ if [[ ${DEVSTACK_SKIP_DEMO-false} == "true" ]]
then
echo "Skipping import of demo course. DEVSTACK_SKIP_DEMO is set to true"
else
docker compose exec -T lms bash -e -c 'git clone https://github.com/openedx/edx-demo-course.git /tmp/edx-demo-course'
# FIXME: Using old version of demo course (open-release/quince.1) until we can
# update devstack and other repos to match: https://github.com/openedx/devstack/issues/1273
docker compose exec -T lms bash -e -c 'git clone https://github.com/openedx/edx-demo-course.git --branch open-release/quince.1 /tmp/edx-demo-course'
docker compose exec -T lms bash -e -c 'source /edx/app/edxapp/edxapp_env && python /edx/app/edxapp/edx-platform/manage.py cms --settings=devstack_docker import /edx/var/edxapp/data /tmp/edx-demo-course && rm -rf /tmp/edx-demo-course'
fi

Expand Down

0 comments on commit 491b3ca

Please sign in to comment.