- Install tutor, check this guide if needed
- Mount RG edx-platform
# go to folder, where you store mounts
cd *your folder for mounts*
# clone edx-platform there
git clone https://gitlab.raccoongang.com/owlox-team/productsforge/oex/edx-platform
# go back to root folder of project
cd ..
# add mount
tutor mounts add *path to mounts folder*/edx-platform
# rebuild openedx image
tutor images build openedx
- Install RG OpenEdx plugin
# go to private requirements (from tutor root folder)
cd env/build/openedx/requirements
# add line below into private.txt (create if it does't exist)
-e git+https://gitlab.raccoongang.com/owlox-team/productsforge/oex/rg-openedx-plugin@master#egg=rg-openedx-plugin
# rebuild openedx image
tutor images build openedx
- Set supported languages inside settings file (
lms/envs/common.py)MODELTRANSLATION_LANGUAGES = ('en', 'uk', 'es') - Go to LMS admin panel, there you should see a new section called
EDX INFO PAGES![[Screenshot 2024-11-21 at 23.52.14.png]] - First you need to go inside
Page typesand check if your page type already there (default pages liketos,privacy,about,blog, etc must already be) If it is, go to step 8. - Add custom page type
Create new page type with desirable slug ![[Pasted image 20241122000432.png]]
Then add your slug into
MKTG_URL_LINK_MAPdict inside settings file... MKTG_URL_LINK_MAP = { 'ABOUT': 'about', ... 'ABC': 'abc', } - Go to
Info pagesand create new one:- Select page language from dropdown ![[Pasted image 20241122001915.png]]
- Select what page type you want to change ![[Pasted image 20241122002028.png]]
- Select
Sitewhere page will be placed (usually it's LMS) - Provide
Titlewhich will be shown in browser tab and on page (don't forget about multilang support) ![[Screenshot 2024-11-22 at 00.21.59.png]] - Same with
Textfield, but it's more flexible, you can put images/videos, tables and even html code inside. All this will be displayed as content for your info page. ![[Screenshot 2024-11-22 at 00.24.06.png]] - You can save your page and go to
*lms-link*/your-page-type, for tutor it would be like:http://local.edly.io:8000/tos