forked from openedx-unsupported/configuration
-
Notifications
You must be signed in to change notification settings - Fork 9
Stanford Notes
Jason Bau edited this page Jul 23, 2013
·
9 revisions
These are some of the steps and commands that we use to operate our instance of edX here at Stanford.
cd playbook
ansible-playbook -vvv -i ./ec2.py -c ssh edxapp_prod.yml --tags=lms-env,cms-env,lms-preview-env
cd configuration
fab -u ubuntu tags:environment=prod,function=webserver -- 'sudo stop edxapp && sudo start edxapp'
cd configuration
fab -u ubuntu tags:environment=prod,function=webserver cache.from_strings:edx-platform=81c567723088ac1d5a409ee942dae8ee3b69380e git.deploy
cd playbooks/edx-west
ANSIBLE_EC2_INI=./ec2.ini ansible '~tag_Name_app(10|20|11|21)_prod' -s -c ssh -i ./ec2.py -m shell -a "lsof -i |grep TCP | wc -l"