Skip to content

Commit 00e5a8f

Browse files
authored
Merge pull request #121 from edx/jhynes/fix-themes-provisioning
fix: fixup theming setup during devstack provisioning
2 parents 96a1fb3 + 7cfe870 commit 00e5a8f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

provision-set-edx-theme.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
# This script sets up the edX theme in LMS and CMS.
44

5-
REPO_URL="https://github.com/edx/edx-themes"
5+
REPO_URL="git@github.com:edx/edx-themes.git"
66
THEME_DIR="/edx/src/edx-themes/edx-platform"
7-
DEVSTACK_FILE="../edx-platform/lms/envs/devstack.py"
7+
DEVSTACK_FILE="./py_configuration_files/lms.py"
88

99
# Clone the edx-themes repository into the src directory
1010
cd ../src
@@ -24,7 +24,7 @@ sed -i '' "/COMPREHENSIVE_THEME_DIRS = \[/a\\
2424
\"$THEME_DIR\",
2525
" "$DEVSTACK_FILE"
2626
sed -i '' "s|^# \]|]|" "$DEVSTACK_FILE"
27-
sed -i '' "s|^# TEMPLATES\[1\]\[\"DIRS\"\] = _make_mako_template_dirs|TEMPLATES[1][\"DIRS\"] = _make_mako_template_dirs|" "$DEVSTACK_FILE"
27+
sed -i '' "s|^# TEMPLATES\[1\]\[\"DIRS\"\] = Derived(_make_mako_template_dirs)|TEMPLATES[1][\"DIRS\"] = Derived(_make_mako_template_dirs)|" "$DEVSTACK_FILE"
2828
sed -i '' "s|^# derive_settings(__name__)|derive_settings(__name__)|" "$DEVSTACK_FILE"
2929

3030

0 commit comments

Comments
 (0)