Commit 1cdcfcd9 by Feanil Patel

Merge pull request #603 from edx/feanil/lock_virtualenv

Feanil/lock virtualenv
parents 339a187e eef510ec
......@@ -37,7 +37,7 @@ common_debian_pkgs:
- python2.7-dev
common_pip_pkgs:
- virtualenv
- virtualenv==1.10.1
- virtualenvwrapper
common_web_user: www-data
......
......@@ -90,6 +90,18 @@
- "edxapp | restart edxapp_workers"
tags: deploy
# Set the npm registry
- name: edxapp | Set the npm registry
shell:
npm config set registry 'http://registry.npmjs.org'
creates="{{ edxapp_app_dir }}/.npmrc"
sudo_user: "{{ edxapp_user }}"
environment: "{{ edxapp_environment }}"
notify:
- "edxapp | restart edxapp"
- "edxapp | restart edxapp_workers"
tags: deploy
# Node play that need to be run after platform updates.
- name: edxapp | Install edx-platform npm dependencies
shell: npm install chdir={{ edxapp_code_dir }}
......
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