File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ if command -v docker >/dev/null 2>&1; then
3131 for course_slug in " ${COURSES[@]} " ; do
3232 echo " [import] Importing $course_slug via docker compose..."
3333 docker compose " ${COMPOSE_ARGS[@]} " exec " ${SERVICE} " \
34- python manage.py import_coursepack --course-slug " ${course_slug} " --create-class
34+ python3 manage.py import_coursepack --course-slug " ${course_slug} " --create-class --replace
3535 done
3636 echo " [import] Done!"
3737 exit 0
4949cd " ${ROOT_DIR} /services/classhub"
5050for course_slug in " ${COURSES[@]} " ; do
5151 echo " [import] Importing $course_slug locally..."
52- python manage.py import_coursepack --course-slug " ${course_slug} " --create-class
52+ python3 manage.py import_coursepack --course-slug " ${course_slug} " --create-class --replace
5353done
5454
5555echo " [import] Done!"
You can’t perform that action at this time.
0 commit comments