DCAS Open EdX Documentation

DCAS Open EdX Documentation

  • Docs

›Discovery Setup

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 Discovery

Go to discovery.yml file and make sure to modify the discovery.yml to match the JWT_Auth settings as that of the ECommerce:
Located at (/edx/etc/discovery.yml)

jwt1.png

JWT_AUTH:
    JWT_ISSUERS:
    -   AUDIENCE: SET-ME-PLEASE
        ISSUER: https://en.school/oauth2
        SECRET_KEY: SET-ME-PLEASE
    JWT_PUBLIC_SIGNING_JWK_SET: '{"keys": [{"kid": "ecommerce-key", "e": "AQAB", "kty": "RSA", "n": "qQtgJs_g_ngLx5SNdxjQliMQs-BatuuSowSdOzxpPHHCXyevGKtlRUr0FHzQ8kfdkH8kfdkHkQ9sxEy3ZNu3UdAZ6JcNROj4UKLMbpbqqAYrSuW3eaaEI1hzKdAKhcgDJyowakC_t4n9XqdvZXllTG6vrKbyh2s5lmYYdu6Z6U9LVT7IiYfqq9dyBKqWhXcZew--lnRYIZaL5aCtsFa_sy4PoDGyXrOJCYsigkrlsigkrltuVXl0BNRtfojzeW2VOfVhiFGEZHIs-_RJ520Z0hRVWEgMpXxpvHLLH3hvEpbKhaP9k_kJIQUCMULSld1Bt4qssOnrnyR7SmET3Vo-hXMcNMzEno6aYQ"}]}'

Note: Follow this link to generate JWT_PUBLIC_SIGNING_JWK_SET

Set AUDIENCE = ECommerce Client Id and SECRET_KEY = ECommerce Client Secret

Now do the OAuth2 Clients settings for Discovery:

Name: discovery
Url: https://en.school:18381
Redirect uri: https://en.school:18381/complete/edx-oidc/
Client id: your-id
Client secret: yout-secret
Client type: Confidential (Web applications)
Logout uri: https://en.school:18381/logout/

Screenshot for reference:
Discovery_OAuth.png

Also make sure to add these clients to the Trusted Clients:

Home › Edx_Oauth2_Provider › Trusted clients

Discovery-Trusted-Clients.png

Keep the OAuth Client Id and Client Secret of discovery client created initially into SOCIAL_* settings under this file:

discovery-social.png

Restart discovery service:

sudo /edx/bin/supervisorctl restart discovery

Note: If the changes do not appear on restart then reboot the machine and test.

← Troubleshoot EcommerceSetup Comprehensive Theming →
DCAS Open EdX Documentation
Docs
Create an Online Course
More
Curricu.me Website
Copyright © 2022 DCAS