Commit 1f6c9356 by root

fix for mongol edx

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