nativeInstalleredx

Configure the Preview button in Studio

Before running the commands shown on this page, you should load the Bitnami stack environment by executing the installdir/use_APPNAME script (Linux and Mac OS X) or by clicking the shortcut in the Start Menu under “Start -> Bitnami APPNAME Stack -> Application console” (Windows). Learn more.

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 installdir/apps/edx/conf directory.
  • Modify the lms.env.json and cms.env.json files and set PREVIEW_LMS_BASE to your alternative domain:

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

    $ sudo installdir/ctlscript.sh restart
    
Last modification September 4, 2018