generaledx

Enable CCX courses

NOTE: We are in the process of modifying the file structure and configuration for many Bitnami stacks. On account of these changes, the file paths stated in this guide may change depending on whether your Bitnami stack uses native Linux system packages (Approach A), or if it is a self-contained installation (Approach B). To identify your Bitnami installation type and what approach to follow, run the command below:

 $ test ! -f "/opt/bitnami/common/bin/openssl" && echo "Approach A: Using system packages." || echo "Approach B: Self-contained installation."

The output of the command indicates which approach (A or B) is used by the installation, and will allow you to identify the paths, configuration and commands to use in this guide. Refer to the FAQ for more information on these changes.

To enable CCX courses in edX, follow these steps:

  • Enable and configure SMTP.

  • Edit the LMS and Studio CMS configuration files and update the line with the CUSTOM_COURSES_EDX variable so that it looks like this:

    NOTE: Depending on your installation type, the LMS and Studio CMS configuration files will be located in the following paths, respectively:

    • Approach A (Bitnami installations using system packages): /opt/bitnami/edx/etc/lms.yml and /opt/bitnami/edx/etc/studio.yml.

    • Approach B (Self-contained Bitnami installations): /opt/bitnami/apps/edx/conf/lms.yml and /opt/bitnami/apps/edx/conf/cms.yml.

      CUSTOM_COURSES_EDX: true,
    
  • Restart all services:

      $ sudo /opt/bitnami/ctlscript.sh restart
    
  • Log in to edX Studio, navigate to the “Settings -> Advanced settings” page, set the “Enable CCX” field to true and save the changes.

  • Migrate the databases. Depending on your installation type, run the following commands:

    • Approach A (Bitnami installations using system packages):

        $ cd /opt/bitnami/edx/app/edxapp/edx-platform
        $ sudo edxapp-migrate-cms
        $ sudo edxapp-migrate-lms
      
    • Approach B (Self-contained Bitnami installations):

        $ cd /opt/bitnami/apps/edx/edx-platform
        $ sudo ../bin/edxapp-migrate-cms
        $ sudo ../bin/edxapp-migrate-lms
      
  • Log in as a “Staff” user.

  • Select a course and then navigate to the “Instructor -> Membership -> Course Team Management” page. Set the value of the Select a course team role" field to “CCX Coaches” and add your user account. Save the changes.

When you next log in using the specified user account, you should be able to see the “CCX Coach” tab on the course detail page.

Last modification November 10, 2021