After installing openedx, access is extremely slow. The reason is that fonts.googleapis.com is blocked in the country.
So I changed it to a 360 mirror, hoping it can be used in the long run. Main modifications:
1.
cd /edx/app/edxapp/edx-platform/lms/static/sass/base
sudo vi _font_face.scss
2.
cd /edx/app/edxapp/edx-platform/cms/static/sass/assets
sudo vi _fonts.scss
3.
cd /edx/app/edxapp/edx-platform/common/static/css
sudo vi tinymce-studio-content-fonts. css
4.
cd /edx/app/edxapp/edx-platform/lms/static/maintenance
sudo vi index.html
Replace fonts.googleapis.com with fonts.useso.com.
To operate vi, use 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
Done.