Commit 8cc4411b by root

fix native install bash

parent ad794993
......@@ -55,9 +55,9 @@ sudo apt-get upgrade -y
## Install system pre-requisites
##
sudo apt-get install -y build-essential software-properties-common curl git-core libxml2-dev libxslt1-dev python-pip libmysqlclient-dev python-apt python-dev libxmlsec1-dev libfreetype6-dev swig gcc g++
sudo pip install --upgrade pip==9.0.3
sudo pip install --upgrade setuptools==39.0.1
sudo -H pip install --upgrade virtualenv==15.2.0
sudo pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --upgrade pip==9.0.3
sudo pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --upgrade setuptools==39.0.1
sudo -H pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --upgrade virtualenv==15.2.0
##
## Overridable version variables in the playbooks. Each can be overridden
......@@ -99,7 +99,7 @@ CONFIGURATION_VERSION=${CONFIGURATION_VERSION-$OPENEDX_RELEASE}
## Clone the configuration repository and run Ansible
##
cd /var/tmp
git clone https://github.com/edx/configuration
git clone https://git.orhontech.com/edx/configuration.git
cd configuration
git checkout $CONFIGURATION_VERSION
git pull
......@@ -108,7 +108,7 @@ git pull
## Install the ansible requirements
##
cd /var/tmp/configuration
sudo -H pip install -r requirements.txt
sudo -H pip install -i https://pypi.tuna.tsinghua.edu.cn/simple -r requirements.txt
##
## Run the edx_sandbox.yml playbook in the configuration/playbooks directory
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment