Skip to content

Instantly share code, notes, and snippets.

@lvnilesh
Last active August 29, 2015 14:15
Show Gist options
  • Save lvnilesh/2eccc1781d1e4975aba7 to your computer and use it in GitHub Desktop.
Save lvnilesh/2eccc1781d1e4975aba7 to your computer and use it in GitHub Desktop.
Stand up edx named-release/birch/rc on digital ocean droplet (or just about any ubuntu precise machine)
sudo su
mkdir -p /tmp
echo 'tmpfs /tmp tmpfs defaults,noatime,mode=1777,nosuid,size=512M,exec 0 0' >> /etc/fstab
mount -a
apt-get update
apt-get -y install git python python-pip python-virtualenv virtualenvwrapper python-dev gcc autoconf g++ python2.7-dev ca-certificates
rm -rf /var/tmp/configuration
rm -rf /var/tmp/venv
cd /var/tmp/
git clone https://github.com/edx/configuration.git
cd configuration/playbooks
virtualenv /var/tmp/venv/configuration
source /var/tmp/venv/configuration/bin/activate
git checkout named-release/birch
pip install -r ../requirements.txt
ansible-playbook ./edx_sandbox.yml -c local -i 'localhost,' \
-e edx_platform_version=named-release/birch \
-e ora2_version=named-release/birch \
-e certs_version=named-release/birch \
-e forum_version=named-release/birch \
-e xqueue_version=named-release/birch
-e@/local/path/to/your/custom.yml
@lvnilesh
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment