Skip to content

Instantly share code, notes, and snippets.



Created Sep 5, 2016
What would you like to do?
Bash script that i use to update static assets when developing themes open edx using comprehensive theme method.
# switch to user edxapp to update assets
sudo -H -u edxapp bash << EOF
source /edx/app/edxapp/edxapp_env
cd /edx/app/edxapp/edx-platform
paver update_assets lms --settings=aws --debug
# restart the lms instance
sudo /edx/bin/supervisorctl restart edxapp:lms
echo "DONE"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment