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
GitHub - edx/devstack: Get up and running quickly to develop or extend Open edX services
Use forked versions of edx-proctoring and frontend-app-learning
Please run commands
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_proctoringcheckout 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_proctoringinstall 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-shellrestart devstack
make stop make dev.up
Wait for learning app to build.
Set a Subsection to be Timed
Go to Studio and add a new course subsection
Select the Configure icon for the subsection.
In the Grading section of opened popup, set the assignment type and due date for the subsection.
Select the Advanced tab.
In the Set as a Special Exam section, select Timed.
In the Time Allotted field, adjust the length of time that you want learners to have to complete the problems in the subsection.
Select Save.
Publish course
Install SE lib as a dependency of MFE
For local development of SE lib do the following
create dir
packagesand clone SE libcd frontend-app-learning mkdir packages cd packages git clone git@github.com:edx/frontend-lib-special-exams.gitcreate a
module.config.jsfile in frontend-app-learningmodule.exports = { localModules: [ { moduleName: '@edx/frontend-lib-special-exams', dir: './packages/frontend-lib-special-exams', dist: 'src' }, ], };restart devstack
make stop make dev.up.lms+frontend-app-learning
Wait for learning app to build.