Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Current »

Devstack installation

For the project, it's preferred to use the latest version of the platform and devstack (master branch)
Please run commands

mkdir oex_proctoring  # choose any folder name you like
cd oex_proctoring
git clone https://github.com/edx/devstack.git
cd devstack 

and follow the instructions https://github.com/edx/devstack#getting-started+

Use forked versions of edx-proctoring and frontend-app-learning

Please run commands

  1. checkout edx-platform

    cd edx-platform
    git remote add rg_platform git@github.com:raccoongang/edx-platform.git
    # choose any remote name you like
    git fetch --all
    git checkout oex_proctoring
  2. checkout frontend-app-learning

    cd frontend-app-learning
    git remote add rg_frontend git@github.com:raccoongang/frontend-app-learning.git
    # choose any remote name you like
    git fetch --all
    git checkout rg_frontend/oex_proctoring
  3. install requirements for lms and studio

    cd devstack
    make dev.up
    make lms-shell 
    pip install -r requirements/edx/development.txt
    # exit lms-shell
    make studio-shell
    pip install -r requirements/edx/development.txt
    # exit studio-shell
  4. restart devstack

    make stop
    make dev.up

Wait for learning app to build.

Set a Subsection to be Timed

https://edx.readthedocs.io/projects/open-edx-building-and-running-a-course/en/latest/course_features/timed_exams.html#set-a-subsection-to-be-timed

  1. Go to Studio and add a new course subsection

  2. Select the Configure icon for the subsection.

  3. In the Grading section of opened popup, set the assignment type and due date for the subsection.

  4. Select the Advanced tab.

  5. In the Set as a Special Exam section, select Timed.

  6. In the Time Allotted field, adjust the length of time that you want learners to have to complete the problems in the subsection.

  7. Select Save.

  8. Publish course

Install SE lib as a dependency of MFE

For local development of SE lib do the following

  1. create dir packages and clone SE lib

    cd frontend-app-learning
    mkdir packages
    cd packages
    git clone git@github.com:raccoongang/frontend-lib-special-exams.git
  2. create a module.config.js file in frontend-app-learning

    module.exports = {
      localModules: [
        { moduleName: '@edx/frontend-lib-special-exams', dir: './packages/frontend-lib-special-exams', dist: 'src' },
      ],
    };
  3. restart devstack

    make stop
    make dev.up.lms+frontend-app-learning

Wait for learning app to build.

  • No labels