Enable CCX courses

Before running the commands shown on this page, you should load the Bitnami stack environment by executing the installdir/use_APPNAME script (Linux and MacOS) or by clicking the shortcut in the Start Menu under “Start -> Bitnami APPNAME Stack -> Application console” (Windows). On OS X VMs, the installation directory is /opt/bitnami and OS X VM users can click the “Open Terminal” button to run commands. Learn more about the Bitnami stack environment and about OS X VMs.

To enable CCX courses in edX, follow these steps:

  • Enable and configure SMTP.

  • Edit the lms.env.json and cms.env.json files and update the line with the CUSTOM_COURSES_EDX variable so that it looks like this:

  • Restart Apache:

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

  • Run the following commands to migrate the databases:

    $ cd installdir/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 April 8, 2020