openedx

How to edit my openedx home page?


The Home page presents a default text :

Welcome to the Open edX® platform! It works! This is the default homepage for this Open edX instance.

enter image description here

Where to go to edit this content ?


Solution

  • Disclaimer : found these solutions online but I did not implemented them. I'am summarizing them here for convenience and later testing. (Source discussion)


    There are 2 ways to change you page contents.

    1. Manually

    If you want to manually update the code, edit the main pages are:

    2. Via a theme and its edition

    1. Get code in :
      git clone https://github.com/Stanford-Online/edx-theme /edx/app/edxapp/themes/
    2. Rename scss :
      mv _default.scss edx-theme.scss
    3. In lms.env.json, set "USE_CUSTOM_THEME": true " , "THEME_NAME": "edx-theme" in lms.env.json
    4. Edit /edx/app/edxapp/edx-platform/lms/templates/index.html