Local setup

paDevstack 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

  4. restart devstack

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

  2. create a module.config.js file in frontend-app-learning

  3. restart devstack

Wait for learning app to build.