Created
September 5, 2016 04:07
-
-
Save dehamzah/0e9258ada87705791e4628e0e5aa9621 to your computer and use it in GitHub Desktop.
Bash script that i use to update static assets when developing themes open edx using comprehensive theme method.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# 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 | |
EOF | |
# 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