## Embedding Oppia explorations in the OpenEdX platform
## Embedding Oppia explorations in the OpenEdX platform
This XBlock is packaged in the standard way as other third-party XBlock
This XBlock is packaged in the standard way as other third-party XBlock contributions to the OpenEdX platform. Please consult the latest OpenEdX documentation for installation instructions. There is also a useful tutorial [here](http://opencraft.com/doc/edx/xblock/tutorial.html#deploying-to-edx-platform).
contributions to the OpenEdX platform. Consult the latest OpenEdX documentation
for installation instructions.
To get started, download the contents of this repository to a folder on your
local machine, and deploy it following the instructions in [this tutorial](http://opencraft.com/doc/edx/xblock/tutorial.html#deploying-to-edx-platform).
Note that you will need to add the value "oppia" to the `advanced_modules`
field in Studio's 'Advanced Settings' menu.
Notes:
Notes:
(1) On devstack, the XBlock does not show up in Studio as a live preview in the
1. You will need to add the value "oppia" to the `advanced_modules` field in Studio's 'Advanced Settings' menu.
editor. However, it does show up in the LMS.
2. On devstack, the XBlock does not show up in Studio as a live preview in the editor. However, it does show up in the LMS.
(2) If you wish to record events, you can do so by modifying the _log() method
3. If you wish to record events, you can do so by modifying the `_log()` method in the `oppia.py` file.