From b7c31d770f39dece8878800c1094197868519176 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Behmo?= Date: Sat, 9 Mar 2019 15:39:33 +0100 Subject: [PATCH] Add missing volume for theme development The documentation instructions could not be working, as the theme folder was not being mounted in the dev container. --- CHANGELOG.md | 1 + tutor/dev.py | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7be1afb..caba70e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ## Latest +- [Bugfix] Add missing volume for theme development - [Improvement] Rename "config [non]interactive" command to "config save [--silent]" - [Improvement] More explicit logging during environment generation - [Improvement] Configurable docker images (#122) diff --git a/tutor/dev.py b/tutor/dev.py index 1270aa3..e3b8113 100644 --- a/tutor/dev.py +++ b/tutor/dev.py @@ -89,6 +89,7 @@ def docker_compose_run(root, edx_platform_path, edx_platform_settings, *command) run_command = [ "run", "--rm", "-e", "SETTINGS={}".format(edx_platform_settings), + "--volume={}:/openedx/themes".format(tutor_env.pathjoin(root, "build", "openedx", "themes")), ] if edx_platform_path: run_command += [