DCAS Open EdX Documentation

DCAS Open EdX Documentation

  • Docs

›Configuration

Creating a Course

  • Create a New Online Course
  • Set Course Schedule & Details
  • Add Sections, Subsections & Units
  • Managing Unit and Component
  • Adding Videos
  • Adding HTML
  • Adding Discussions
  • Adding Problems

    • Adding Problems
    • Problem Types
    • Drag and Drop
    • Pointing on a picture
  • Adding Images and Figures
  • Uploading Static Content
  • Course Visibility
  • Creating pages
  • Grading
  • Commonly Used Advanced Settings

Running a Course

  • Managing Certificates
  • Common Instructor Dashboard Tasks
  • Managing Course Discussions

Advanced Management

  • Importing / Exporting Courses
  • Change a user’s password
  • Inactivate / Activate a User
  • Understanding User Roles
  • Set a user to staff or superuser
  • Server Tasks

    • SSH into Server
    • Set or Change a Password

Migration

  • Migrate EdX (Single-Server)
  • Migrate the Theme

Migrate MySQL

  • Migrating MySQL Database off of Single-Server

Migrate Mongo

  • Migrating Mongo Database off of Single-Server

Configuration

  • Enable and Update Additional Languages
  • Enable Downloads from Instructor tab in LMS
  • Configure and Enable Certificate
  • Configure Open Response Assessment

Configure Ecommerce

  • Basic Ecommerce Setup
  • Setup JWT Keys
  • Getting Course Details on Checkout Page
  • Troubleshoot Ecommerce

Discovery Setup

  • Configure Discovery

Comprehensive theming

  • Setup Comprehensive Theming

Microsites

  • Setup Microsites
  • Common Microsite Configurations

API

  • Setup API
  • Common APIs Demonstration
  • Customizing an API
  • DCAS API Handoff for LMS

Xblock

  • Xblock introduction
  • Xblock installation and uninstallation
  • Xblock Development

Scaling the architecture

  • Scaling Mongo
  • Scaling MySQL
  • Dedicated Storage Configuration Outline
  • Azure Storage Configuration

    • Azure Storage Configuration
    • Basic Configuration
    • Private Blob Configuration

SCORM

  • SCORM Azure Storage

Trouble-Shooting

  • Forgot admin username or password
  • Server error
  • Can't reach your site
  • Problems with RabbitMQ
  • Can't login to LMS or CMS
  • Locate the error
  • Jobs are stucking
  • Mongodb not working
  • Forums Breaking Issue
  • Check open edx services status
  • Problem with mysql
  • Can't receive email
  • CSRF token error

Configure Open Response Assessment

Adding ORA component to a Unit

ORA is enabled in Ironwood by default.

  1. Go to the specific unit > Click Problem > Click Advanced > Open Response Assessment.
  2. Now edit the component > Click Settings > File Uploads Response > Set to ‘Required’.
  3. Now upload file either in LMS or CMS, it will throw error.

ORA Upload failed

For this error to resolve, you need to implement Storage Back-end mechanism (i.e S3, local filesystem etc). Here in this tutorial, we will walkthrough the configuration need to implement local filesystem back-end and storage.

Configuring Local FileSystem Back-end and Storage

  1. Make a new directory.

    mkdir /edx/var/edxapp/ora_uploads
    sudo chown www-data:edxapp /edx/var/edxapp/ora_uploads   # Change ownership
    
  2. Open files lms/envs/common.py and cms/envs/common.py on your favourite editor (eg: nano) and configure some keys.

    ORA2_FILEUPLOAD_BACKEND = "filesystem"
    ORA2_FILEUPLOAD_CACHE_NAME="ora2-storage"
    ORA2_FILEUPLOAD_ROOT = "/edx/var/edxapp/ora_uploads"
    
  3. Open files lms.env.json and cms.env.json. After that add the following settings.

    # Add this to CACHE key
            "ora2-storage": {
                "BACKEND": "django.core.cache.backends.memcached.MemcachedCache",
                "KEY_FUNCTION": "util.memcache.safe_key",
                "LOCATION": [
                    "localhost:11211"
                ]
            }
    # Replace the key
    "FILE_UPLOAD_STORAGE_BUCKET_NAME": "ORA_SUBMISSIONS"
    
  4. Open the file /edx/app/edxapp/venvs/edxapp/lib/python2.7/site-packages/openassessment/fileupload/backends/filesystem.py and add this function.

    from django.core.urlresolvers import reverse_lazy, reverse
    
        def _get_url(self, key):
            key_name = self._get_key_name(key)
            # Change reverse_lazy to reverse
            url = reverse("openassessment-filesystem-storage", kwargs={'key': key_name})
            return url
    
  5. Open the file cms/urls.py

    # Adding upload url
    url(r'^openassessment/storage', include(openassessment.fileupload.urls))
    
  6. Restart the LMS and Studio for the changes to take effect.

    sudo /edx/bin/supervisorctl restart lms cms
    
← Configure and Enable CertificateBasic Ecommerce Setup →
  • Adding ORA component to a Unit
  • Configuring Local FileSystem Back-end and Storage
DCAS Open EdX Documentation
Docs
Create an Online Course
More
Curricu.me Website
Copyright © 2022 DCAS