Commit 1f6c9356 by root

fix for mongol edx

parent 81609061
......@@ -18,7 +18,7 @@
vars:
migrate_db: "yes"
EDXAPP_LMS_NGINX_PORT: '80'
edx_platform_version: 'open-release-mongol/ginkgo.2'
edx_platform_version: 'open-release/ginkgo.master'
# Set to false if deployed behind another proxy/load balancer.
NGINX_SET_X_FORWARDED_HEADERS: True
DISCOVERY_URL_ROOT: 'http://localhost:{{ DISCOVERY_NGINX_PORT }}'
......
......@@ -50,7 +50,7 @@ COMMON_ENVIRONMENT: 'default_env'
COMMON_DEPLOYMENT: 'default_deployment'
COMMON_PIP_VERBOSITY: ''
COMMON_PYPI_MIRROR_URL: 'https://pypi.tuna.tsinghua.edu.cn/simple'
COMMON_NPM_MIRROR_URL: 'https://registry.npmjs.org'
COMMON_NPM_MIRROR_URL: 'https://registry.npm.taobao.org'
COMMON_UBUNTU_APT_KEYSERVER: "http://keyserver.ubuntu.com/pks/lookup?op=get&fingerprint=on&search="
COMMON_EDX_PPA: "deb http://ppa.edx.org {{ ansible_distribution_release }} main"
......
......@@ -45,19 +45,19 @@
- install:base
# Do A Checkout
#- name: checkout edx-platform repo into {{ edxapp_code_dir }}
# git:
# dest: "{{ edxapp_code_dir }}"
# repo: "{{ edx_platform_repo }}"
# version: "{{ edx_platform_version }}"
# accept_hostkey: yes
# become_user: "{{ edxapp_user }}"
# environment:
# GIT_SSH: "{{ edxapp_git_ssh }}"
# register: edxapp_platform_checkout
# tags:
# - install
# - install:code
- name: checkout edx-platform repo into {{ edxapp_code_dir }}
git:
dest: "{{ edxapp_code_dir }}"
repo: "{{ edx_platform_repo }}"
version: "{{ edx_platform_version }}"
accept_hostkey: yes
become_user: "{{ edxapp_user }}"
environment:
GIT_SSH: "{{ edxapp_git_ssh }}"
register: edxapp_platform_checkout
tags:
- install
- install:code
- name: git clean after checking out edx-platform
shell: cd {{ edxapp_code_dir }} && git clean -xdf
......
......@@ -7,7 +7,10 @@ NLTK_DATA_DIR: "/usr/local/share/nltk_data"
NLTK_DATA:
- { path: "taggers/maxent_treebank_pos_tagger",
url: "http://nltk.github.io/nltk_data/packages/taggers/maxent_treebank_pos_tagger.zip" }
# url: "/root/files/maxent_treebank_pos_tagger.zip" }
- { path: "corpora/stopwords",
url: "http://nltk.github.io/nltk_data/packages/corpora/stopwords.zip" }
# url: "/root/files/corpora/stopwords.zip" }
- { path: "corpora/wordnet",
# url: "/root/files/wordnet.zip" }
url: "http://nltk.github.io/nltk_data/packages/corpora/wordnet.zip" }
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