ca-edx-theme
openedX Theme for Craft Academy
Apply theme on an openedX installation
-
Connect to the server
ssh deploy@server_ip_address
-
Switch to
edxapp
user and load the python envsudo su edxapp -s /bin/bash cd ~ source edxapp_env cd edx-platform
-
Get the theme
~/edx-platform $ cd themes ~/edx-platform/themes $ git clone http://github.com/craftacademy/ca-edx-theme.git craftacademy
In case your already have the theme installed, just switch to the directory where the theme is stored and pull the latest changes from github.
-
Compile the theme (still as
edxapp
user)$ cd ~/edx-platform ~/edx-platform $ paver update_assets lms --settings=aws --themes craftacademy
Notes: compilation is only needed if changes were made to the stylesheets. Changes to the template files will reflect immediately
-
Restart the app (if new styles were compiled) - Do this as
deploy
If you're still logged in as
edxapp
you can exit withctrl-d
then restart the app with the following commandsudo /edx/bin/supervisorctl restart edxapp: