Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- #move to folder themes
- cd /edx/app/edxapp/themes/<change-to-your-theme>/
- echo "inside /edx/app/edxapp/themes/<change-to-your-theme>/"
- #switch to user edxapp
- sudo -H -u edxapp bash << EOF
- echo "Now as: "
- whoami
- source /edx/app/edxapp/edxapp_env
- cd /edx/app/edxapp/edx-platform
- paver update_assets lms --settings=aws --debug
- EOF
- echo "Back to user: "
- whoami
- #restart lms instance
- sudo /edx/bin/supervisorctl restart edxapp:lms
- echo "DONE"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement