Skip to main content

livedeps plugin for Tutor

Project description

This is a plugin for Tutor that provides real time python package installation for Open edX platforms. This means you do not need to rebuild the openedx image whenever you add a new package. This is achieved by storing these packages in Django storage and downloading them inside each LMS/CMS container.

Installation

This plugin depends on the tutor-minio plugin to store the packages. After installing and enabling tutor-minio run the following commands:

tutor plugins install livedeps

tutor plugins enable livedeps

Then build the openedx image:

tutor images build openedx

Finally, run the init task:

tutor local/k8s do init --limit=livedeps

This step must be performed before you start tutor otherwise your LMS/CMS containers will fail to start.

Configuration

LIVEDEPS (default: "[]")

To add a new package to this config run

tutor config save --append LIVEDEPS=package_name

To remove an old package from this config run

tutor config save --remove LIVEDEPS=package_name

Then run the following command to install the packages that are present in the LIVEDEPS config (make sure tutor is already running before executing this command):

tutor local/k8s do livedeps

Troubleshooting

This Tutor plugin is maintained by Muhammad Labeeb from Edly. Community support is available from the official Open edX forum. Do you need help with this plugin? See the troubleshooting section from the Tutor documentation.

License

This work is licensed under the terms of the GNU Affero General Public License (AGPL).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tutor_livedeps-20.0.0.tar.gz (16.8 kB view details)

Uploaded Source

File details

Details for the file tutor_livedeps-20.0.0.tar.gz.

File metadata

  • Download URL: tutor_livedeps-20.0.0.tar.gz
  • Upload date:
  • Size: 16.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.20

File hashes

Hashes for tutor_livedeps-20.0.0.tar.gz
Algorithm Hash digest
SHA256 410cbb03998fbc7e71dc0160a54dce9227959b15cb4566dedeb0c91462489377
MD5 31ef183d61ff7f3a2405d3c95fc35356
BLAKE2b-256 7b2e756b8c46beb2d95a2ed75b247fb506fc6603075c68723ad9aaafe395898d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page