Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

...

Table of Contents

paDevstack installation

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

Code Block
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 {+}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

    Code Block
    cd edx-platform

...

  1. 
    git remote add rg_platform git@github.com:raccoongang/edx-platform.git

...

  1. 
    # choose any remote name you like

    
    git
    fetch rg_platform
    git checkout rg_platform/
     fetch --all
    git checkout oex_proctoring
  2. checkout frontend-app-learning

    Code Block
    cd frontend-app-learning

...

  1. 
    git remote add rg_frontend git@github.com:raccoongang/frontend-app-learning.git

...

  1. 
    # choose any remote name you like

    
    git fetch --all

    
    git checkout rg_frontend/
    master
    oex_proctoring
  2. install requirements for lms and studio

    Code Block
    cd devstack

...

  1. 
    make dev.up

...

  1. 
    make lms-shell

...

  1.  
    pip install -r requirements/edx/development.txt

...

  1. 
    # exit lms-shell

    
    make studio-shell

    
    pip install -r requirements/edx/development.txt
    
    # exit studio-shell
  2. restart devstack

    Code Block
    make stop

...

  1. 
    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.

...

  1. Image Added
  2. In the Grading section of opened popup, set the assignment type and due date for the subsection.

  3. Select the Advanced tab.

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

...

  1. Image Added
  2. In the Time Allotted field,

    enter

    adjust the length of time that you want learners to have to complete the problems in the subsection.

    Enter the time as HH:MM, where HH is hours and MM is minutes.Select Save

  3. Select Save.

  4. 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

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

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

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

Wait for learning app to build.