After openedx is installed, access is very slow. The reason is that fonts.googleapis.com is blocked in China. Therefore, the image is changed to a 360 image, which is expected to be used for a long time. Major changes: 1.cd/edx/app/edxapp/edx-platform/lms/static/sass/basesudo vi _ font_face.scss 2.cd/edx/app/edxapp/edx-platform/cms/static/sass/ assetssudo vi _ fonts. scss 3.cd/edx/app/edxapp/edx-platform/common/static/csssudo vi tinymce-studio-content-fonts.css 4.cd/edx/app/edxapp/edx-platform/lms/static/maintenancesudo vi index.html will replace fonts.googleapis.com with fonts.useso.com. Vi operation, Baidu. After modification, recompile. Compile assets manually
To compile javascript and css outside of the update script run the following commands:
• Sudo-H-u edxapp bash
• Source/edx/app/edxapp/edxapp_env
• Cd/edx/app/edxapp/edx-platform
• Paver update_assets cms -- settings = aws
• Paver update_assets lms -- settings = aws.