The source code of the P3E XBlock
To start developping this xblock, follow this instructions:
Fisrt, in ~/my_folder/, install the XBlock SDK by following this tutorial: https://github.com/edx/xblock-sdk#xblock-sdk--
Next, in ~/my_folder/, download this repository in another folder:
$ git clone https://github.com/abotsi/edx-p3e-repo
At this point, you should have:
my_folder
├── xblock-sdk-master/
├── edx-p3e-repo/
Then, with your venv activated, install p3e-xblock with the command:
$ pip install -e ../edx-p3e-repo/
You can now start the p3e-xblock doing the following
Activate your virtualenv:
$ source xblock-sdk/bin/activate
Run the server:
$ python xblock-sdk/manage.py runserver
With a web browser, open the link: http://127.0.0.1:8000/scenario/p3exblock.0/