How to delete a course

Elsewhere: How to Delete a Course

Step-by-step guide

  1. cd /edx/app/edxapp/edx-platform

  2. sudo -u edxapp /edx/bin/python.edxapp ./manage.py lms dump_course_ids --settings aws

  3. sudo -u edxapp /edx/bin/python.edxapp ./manage.py cms --settings=production delete_orphans COURSE_ID --commit

  4. sudo -u edxapp /edx/bin/python.edxapp ./manage.py cms --settings=production delete_course COURSE_ID