Last active
August 29, 2015 14:15
-
-
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)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you @e0d https://github.com/e0d