Starter theme for developing comprehensive theme on Open edX
-
Change to
edxapp
user$ sudo -u edxapp bash
-
Create new folder on
/edx/app/edxapp/
calledthemes
$ mkdir /edx/app/edxapp/themes
-
Move to that folder
$ cd /edx/app/edxapp/themes
-
Clone this repo
$ git clone https://github.com/dehamzah/starter-theme-openedx.git starter-theme
-
Make some changes in
lms.env.json
located in/edx/app/edxapp/
. Then change some variables to this:ENABLE_COMPREHENSIVE_THEMING: true, COMPREHENSIVE_THEME_DIRS: ["/edx/app/edxapp/themes"], DEFAULT_SITE_THEME: "starter-theme",
-
Back to ubuntu sudo users, and restart the edxapp to load new configuration.
$ exit $ sudo /edx/bin/supervisorctl restart edxapp:
-
Run the
update.sh
script. To apply the themes.$ cd /edx/app/edxapp/themes/starter-theme/ $ sh update.sh