Platform cannot apply Stanford theme

Source: Internet
Author: User

Here is the steps to enable a custom theme using the manual method described here:

Https://github.com/edx/edx-platform/wiki/Stanford-Theming

First create the base VM:

mkdir fullstackcd fullstackcurl -L https://raw.githubusercontent.com/edx/configuration/master/vagrant/release/fullstack/Vagrantfile > Vagrantfilevagrant plugin install vagrant-hostsupdaterexport OPENEDX_RELEASE="named-release/birch"vagrant up

This might take awhile as the virtual box is downloaded. The key is exporting the OPENEDX_RELEASE environment variable. This specifically is installing the Birch named release. Over time, the this would change. See more on named releases here:

Https://github.com/edx/configuration/wiki/Named-Releases

Now, SSH into the VM and become the Edxapp User:

vagrant sshsudo su edxappcd ~source edxapp_env

Pull down the theme from GitHub:

mkdir themescd themesgit clone https://github.com/Stanford-Online/edx-theme.git default

Configure EdX to use the new theme:

cd /edx/app/edxappvi lms.env.jsonchange "USE_CUSTOM_THEME": false to "USE_CUSTOM_THEME": truechange "THEME_NAME": "", to "THEME_NAME": "default",exit and save vi

Recompile The assets:

cd /edx/app/edxapp/edx-platformpaver update_assets lms --settings=aws

Platform cannot apply Stanford theme

Related Article

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.