在ubuntu12.04下安装edx Cypress
文章目录
#最简易的方式
|
|
#分步安装
- sudo apt-get update -y
- sudo apt-get upgrade -y
- sudo reboot
- sudo apt-get install -y build-essential software-properties-common python-software-properties curl git-core libxml2-dev libxslt1-dev libfreetype6-dev python-pip python-apt python-dev libxmlsec1-dev swig
- sudo pip install –upgrade pip
- sudo pip install –upgrade virtualenv
- cd /var/tmp
- git clone https://github.com/edx/configuration
- cd /var/tmp/configuration
- git checkout named-release/cypress
- sed -i “/COMMON_SSH_PASSWORD_AUTH/c COMMON_SSH_PASSWORD_AUTH: "yes"” playbooks/roles/common/defaults/main.yml
- sudo pip install -r requirements.txt
- cd /var/tmp/configuration/playbooks
sudo ansible-playbook -c local ./edx_sandbox.yml -i "localhost," -e 'edx_platform_version=named-release/cypress certs_version=named-release/cypress forum_version=named-release/cypress xqueue_version=named-release/cypress'
#建议 不要在edx_sandbox.yml添加insights和ecommerce,否则可能出现nodeenv错误。这两项功能目前还没完善
文章作者 种瓜
上次更新 2015-08-25