Skip to content
Reid Ransom edited this page May 19, 2015 · 6 revisions

EC2 Install Instructions

Start with public AMI for us-east-1 ami-1af35972. Use t2.medium or larger instance.

Edit /edx/app/edx_ansible/server-vars.yml:

edx_platform_repo: "https://github.com/DefyVentures/edx-platform.git"
edx_platform_version: "defy/master"
# Other config here

Commands:

$ sudo rm -rf /edx/app/edxapp/edx-platform
$ sudo /edx/bin/update configuration release
$ sudo /edx/bin/update edx-platform defy/master
$ cd /edx/app/edx_ansible/edx_ansible/playbooks
$ sudo /edx/app/edx_ansible/venvs/edx_ansible/bin/ansible-playbook -i localhost, -c local run_role.yml -e 'role=mongo' -e 'mongo_create_users=True'
$ cd /edx/app/edxapp/edx-platform
$ sudo -u www-data /edx/bin/python.edxapp manage.py lms syncdb --migrate --settings aws
$ sudo -u www-data /edx/bin/python.edxapp manage.py cms syncdb --migrate --settings aws
$ sudo -u www-data /edx/bin/python.edxapp manage.py lms createsuperuser --settings aws

Adapted from: https://github.com/edx/configuration/wiki/Single-AWS-server-installation-using-Amazon-Machine-Image

Clone this wiki locally