Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
sleep 20
sudo DEBIAN_FRONTEND=noninteractive apt-get update -y
sudo DEBIAN_FRONTEND=noninteractive apt-get upgrade -y
wget -O - | sudo bash
mkdir edx-configs && cd edx-configs
sudo wget
sudo wget
while IFS= read line; do REPLACE=$(LC_ALL=C < /dev/urandom tr -dc 'A-Za-z0-9' | head -c35) && echo "$line" | sed "s/\!\!null/\'$REPLACE\'/"; done < ./passwords.yml | sudo tee ./my-passwords.yml
mkdir /edx-themes && sudo chmod -R 777 /edx-themes && cd /edx-themes
git clone -b lilac cubite-theme
cd /edx/app/edx_ansible/edx_ansible/playbooks/ && git checkout open-release/lilac.master
sudo /edx/app/edx_ansible/venvs/edx_ansible/bin/ansible-playbook -c local ./openedx_native.yml -i 'localhost,' -e@/root/edx-configs/my-passwords.yml -e@/root/edx-configs/vars.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment