Commit 9e202ee5 by Simon Chen Committed by GitHub

Merge pull request #3262 from edx/schen/ECOM-4904

ECOM-4904 remove the front end application within program IDA
parents e2a59f8c 5e21021a
......@@ -166,12 +166,6 @@ programs_user: "{{ programs_service_name }}"
programs_home: "{{ COMMON_APP_DIR }}/{{ programs_service_name }}"
programs_code_dir: "{{ programs_home }}/{{ programs_service_name }}"
programs_node_version: "4.4.7"
programs_nodeenv_dir: "{{ programs_home }}/nodeenvs/{{ programs_service_name }}"
programs_nodeenv_bin: "{{ programs_nodeenv_dir }}/bin"
programs_node_modules_dir: "{{ programs_code_dir }}/node_modules"
programs_node_bin: "{{ programs_node_modules_dir }}/.bin"
programs_environment:
DJANGO_SETTINGS_MODULE: "{{ PROGRAMS_DJANGO_SETTINGS_MODULE }}"
PROGRAMS_CFG: "{{ COMMON_CFG_DIR }}/{{ programs_service_name }}.yml"
......
......@@ -36,23 +36,6 @@
become_user: "{{ programs_user }}"
with_items: "{{ programs_requirements }}"
- name: create nodeenv
shell: >
creates={{ programs_nodeenv_dir }}
{{ programs_venv_dir }}/bin/nodeenv {{ programs_nodeenv_dir }} --node={{ programs_node_version }} --prebuilt
become_user: "{{ programs_user }}"
- name: install node dependencies
npm: executable={{ programs_nodeenv_bin }}/npm path={{ programs_code_dir }} production=yes
become_user: "{{ programs_user }}"
environment: "{{ programs_environment }}"
- name: install bower dependencies
shell: >
chdir={{ programs_code_dir }}
. {{ programs_nodeenv_bin }}/activate && {{ programs_node_bin }}/bower install --production --config.interactive=false
become_user: "{{ programs_user }}"
- name: migrate
shell: >
chdir={{ programs_code_dir }}
......@@ -63,19 +46,6 @@
environment: "{{ programs_environment }}"
when: migrate_db is defined and migrate_db|lower == "yes"
- name: compile sass
shell: >
chdir={{ programs_code_dir }}
. {{ programs_nodeenv_bin }}/activate && {{ programs_node_bin }}/gulp css
become_user: "{{ programs_user }}"
when: not devstack
- name: run r.js optimizer
shell: >
chdir={{ programs_code_dir }}
. {{ programs_nodeenv_bin }}/activate && {{ programs_node_bin }}/r.js -o build.js
become_user: "{{ programs_user }}"
when: not devstack
- name: run collectstatic
shell: >
......
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