eduNEXT / tutor-contrib-edunext-distro

A tool to facilitate the customization of an Openedx instance, adding commands and settings to have an easy-to-use and a ready-to-deploy in local or in development openedx distribution.
2 stars 1 forks source link

Ds 172 add an option to disable current packages #20

Closed Henrrypg closed 1 year ago

Henrrypg commented 1 year ago

This PR is to add an option to disable current or default packages

How to test it

Optional: Prune system from docker with docker kill $(docker ps -q) and docker system prune --volumes

  1. Create tvm environment and install distro plugin on this branch.
    tvm project init mango v13.3.1
    source .tvm/bin/activate
    tvm plugins install git+https://github.com/eduNEXT/tutor-contrib-edunext-distro@DS-172-add-an-option-to-disable-current-packages
  2. Now edit your config.yml adding some package with None value.

example: DISTRO_EOX_HOOKS_DPKG: None

  1. Save and start tutor.

    tutor config save
    tutor dev start
  2. When is running you can check is some package is running with http://local.overhang.io:8000/PACKAGE-NAME/eox-info.

    http://local.overhang.io:8000/eox-hooks/eox-info should fails if you disabled it.