6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-12-12 06:07:56 +00:00

Clarify image downloading in k8s docs

Close #362
This commit is contained in:
Régis Behmo 2020-08-16 16:05:06 +02:00
parent 2ac6f8e8dd
commit 6980550b7c
3 changed files with 43 additions and 30 deletions

View File

@ -186,6 +186,8 @@ To renew the certificate, run this command once per month::
.. _customise: .. _customise:
.. _custom_openedx_docker_image:
Custom Open edX docker image Custom Open edX docker image
---------------------------- ----------------------------
@ -241,6 +243,8 @@ Then you must rebuild the openedx Docker image::
Finally, you should enable your theme with the :ref:`settheme command <settheme>`. Finally, you should enable your theme with the :ref:`settheme command <settheme>`.
.. _custom_extra_xblocks:
Installing extra xblocks and requirements Installing extra xblocks and requirements
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

View File

@ -147,6 +147,15 @@ All non-persisting data will be deleted, and then re-created.
Guides Guides
------ ------
Running a custom "openedx" Docker image
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Some Tutor plugins and customization procedures require that the "openedx" image be rebuilt (see :ref:`customization <custom_openedx_docker_image>`). This is for instance the case if you want to :ref:`install a custom XBlock <custom_extra_xblocks>` or :ref:`run an edx-platform fork <edx_platform_fork>`. When running Open edX on Kubernetes, your custom images will have to be downloaded from a custom registry. You should define a custom image name, build the image and then push them to your custom registry. For instance, for the "openedx" image::
tutor config save --set "DOCKER_IMAGE_OPENEDX=docker.io/myusername/openedx:{{ TUTOR_VERSION }}"
tutor images build openedx
tutor images push openedx
Updating docker images Updating docker images
~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~