Openedx online font Problems

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.