This package provides an XBlock for use with the edX platform which provides a staff graded assignment. Students are invited to upload files which encapsulate their work on the assignment. Instructors are then able to download the files and enter grades for the assignment.
Note that this package is both an XBlock and a Django application. For installation:
- edX Developer Stack Installation: Install Vagrant, Pip, & VirtualBox
- Install Virtual Box (Version 4.3.12).
- Install Pip
sudo easy_install pip
- Install Vagrant (Version 1.6.3).
- Install Vagrant plugin.
- Download the Vagrantfile.
Get the virtual machine running.
mkdir devstack cd devstack curl –L https://raw.githubusercontent.com/edx/configuration/master/vagrant/release/devstack/Vagrantfile > Vagrantfile vagrant plugin install vagrant-vbguest vagrant up vagrant ssh
- Install Package using Pip install (with VM running)
pip install -e git+https://github.com/mitodl/edx-sga@release#egg=edx-sga
- Add edx_sga to INSTALLED_APPS in Django settings. Enable an XBlock for testing in your devstack.
In
edx-platform/lms/envs/common.py
, uncomment:# from xmodule.x_module import prefer_xmodules # XBLOCK_SELECT_FUNCTION = prefer_xmodules
In
edx-platform/cms/envs/common.py
, uncomment:# from xmodule.x_module import prefer_xmodules # XBLOCK_SELECT_FUNCTION = prefer_xmodules
In
edx-platform/cms/envs/common.py
, change:‘ALLOW_ALL_ADVANCED_COMPONENTS’: False,
to
‘ALLOW_ALL_ADVANCED_COMPONENTS’: True,
- Log in to studio (with VM running).
Login
sudo su edxapp paver devstack studio
- Open a browser and navigate to the following link. http://localhost:8001/
- Login through the user interface using one of the following accounts.
staff@example.com / edx
verified@example.com / edx
audit@example.com / edx
honor@example.com / edx
- Change Advanced Settings
- Open a course you are authoring and select "Settings" ⇒ "Advanced Settings
- Navigate to the section titled “Advanced Modules”
- Add “edx_sga” to module list.
- Now when you add an “Advanced” unit in Studio, “Staff Graded Assignment” will be an option.