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

Commit c838203

Browse files
committed
feat: add more data during discovery provisioning
1 parent 5375cce commit c838203

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

provision-discovery.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
set -eu -o pipefail
44
set -x
55

6+
docker-compose up -d lms
7+
docker-compose up -d studio
8+
docker-compose up -d ecommerce
9+
sleep 5 # Give above services some time to boot up
10+
611
./provision-ida.sh discovery discovery 18381
712

813
docker-compose exec -T discovery bash -e -c 'rm -rf /edx/var/discovery/*'
@@ -12,6 +17,7 @@ set +e
1217
# FIXME[bash-e]: Bash scripts should use -e -- but this script fails
1318
# (after many retries) when trying to talk to ecommerce
1419
docker-compose exec -T discovery bash -e -c 'source /edx/app/discovery/discovery_env && python /edx/app/discovery/discovery/manage.py refresh_course_metadata'
20+
docker-compose exec -T discovery bash -e -c 'source /edx/app/discovery/discovery_env && python /edx/app/discovery/discovery/manage.py add_provisioning_data'
1521
set -e
1622

1723
docker-compose exec -T discovery bash -e -c 'source /edx/app/discovery/discovery_env && python /edx/app/discovery/discovery/manage.py update_index --disable-change-limit'

0 commit comments

Comments
 (0)