Skip to content

mitodl/screenshot_xblock

Repository files navigation

Xblock screenshot api for edx-platform

Enable standalone xblock rendering

TO enable xblock rendering on edX platform you need to add below flag inside features list in lms.env.json

  "ENABLE_RENDER_XBLOCK_API":true 
Installation
Running the Development Server
 python take_screenshot.py
Running the Development on heroku

Note you need 2 buildpacks i.e Nodejs and python

https://github.com/heroku/heroku-buildpack-python.git
https://github.com/heroku/heroku-buildpack-nodejs.git
Testing

You can run tests by following command

python -m unittest  test_take_screenshot

You can test coverage by following command

coverage run --source take_screenshot.py test_take_screenshot.py
coverage report -m take_screenshot.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published