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

Commit 7bf1244

Browse files
authored
fix: coursegraph dump should come from cms, not lms (#899)
1 parent 3f8436c commit 7bf1244

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

provision-coursegraph.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ echo -e "${GREEN} Ensuring Coursegraph image is up to date...${NC}"
1212
docker-compose rm --force --stop coursegraph
1313
docker-compose pull coursegraph
1414

15-
echo -e "${GREEN} Starting Coursegraph and LMS...${NC}"
16-
docker-compose up -d coursegraph lms
15+
echo -e "${GREEN} Starting Coursegraph and CMS...${NC}"
16+
docker-compose up -d coursegraph studio
1717
sleep 10 # Give Neo4j some time to boot up.
1818

19-
echo -e "${GREEN} Updating LMS courses in Coursegraph...${NC}"
20-
docker-compose exec lms bash -c 'source /edx/app/edxapp/edxapp_env && cd /edx/app/edxapp/edx-platform/ && ./manage.py lms dump_to_neo4j --host coursegraph.devstack.edx --user neo4j --password edx'
19+
echo -e "${GREEN} Updating CMS courses in Coursegraph...${NC}"
20+
docker-compose exec studio bash -c 'source /edx/app/edxapp/edxapp_env && cd /edx/app/edxapp/edx-platform/ && ./manage.py cms dump_to_neo4j --host coursegraph.devstack.edx --user neo4j --password edx'
2121

22-
echo -e "${GREEN} Coursegraph is now up-to-date with LMS!${NC}"
22+
echo -e "${GREEN} Coursegraph is now up-to-date with CMS!${NC}"

0 commit comments

Comments
 (0)