virtualMachineedx

Configure the Preview button in Studio

NOTE: The properties PREVIEW_LMS_BASE and LMS_BASE must be configured with different domains. Otherwise, non-staff users won’t be able to see any course when navigating your site.

To enable content previews in Studio, you need to configure the Preview button. Follow these steps:

  • Make sure that you have a subdomain or a different domain pointing to your Open edX server.

  • Navigate to the /opt/bitnami/apps/edx/conf directory.

  • Modify the lms.yml and cms.yml files and set PREVIEW_LMS_BASE to your alternative domain:

      PREVIEW_LMS_BASE: preview.yourdomain.com,
    
  • Restart all services running the commnand below:

      $ sudo /opt/bitnami/ctlscript.sh restart
    
Last modification January 20, 2021