6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-09-27 11:49:02 +00:00

Fix minor docs issues

This commit is contained in:
Régis Behmo 2020-03-16 22:33:56 +01:00
parent 328e70b8b5
commit ae2af6b1f8
2 changed files with 2 additions and 4 deletions

View File

@ -111,7 +111,7 @@ To debug a local edx-platform repository, add a ``import ipdb; ipdb.set_trace()`
XBlock and edx-platform plugin development
------------------------------------------
In some cases you will have to develop features for packages that are pip-installed next to edx-platform. This is quite easy with Tutor. Just add your packages to the `$(tutor config printroot)/env/build/openedx/requirements/private.txt`` file. To avoid re-building the openedx Docker image at every change, you should add your package in editable mode. For instance::
In some cases you will have to develop features for packages that are pip-installed next to edx-platform. This is quite easy with Tutor. Just add your packages to the ``$(tutor config printroot)/env/build/openedx/requirements/private.txt`` file. To avoid re-building the openedx Docker image at every change, you should add your package in editable mode. For instance::
echo "-e ./mypackage" >> "$(tutor config printroot)/env/build/openedx/requirements/private.txt"

View File

@ -30,9 +30,7 @@ class LocalContext(Context):
)
@click.group(
help="Run Open edX locally with docker-compose",
)
@click.group(help="Run Open edX locally with docker-compose",)
@click.pass_context
def local(context):
context.obj = LocalContext(context.obj.root)