Skip to content
John Jarvis edited this page Jul 15, 2013 · 9 revisions

Stanford Notes

These are some of the steps and commands that we use to operate our instance of edX here at Stanford.

Updating Configurations

cd playbook
ansible-playbook -vvv -i ./ec2.py -c ssh edxapp_prod.yml --tags=lms-env,cms-env,lms-preview-env

Restarts

cd configuration
fab -u ubuntu tags:environment=prod,function=webserver -- 'sudo stop edxapp && sudo start edxapp'

Install

cd configuration
fab -u ubuntu tags:environment=prod,function=webserver cache.from_strings:edx-platform=81c567723088ac1d5a409ee942dae8ee3b69380e git.deploy