Commit 0f29c429 by Feanil Patel

Collect static and compress them.

parent 1a4427bc
......@@ -58,9 +58,13 @@
- name: run collectstatic
shell: >
chdir={{ ecommerce_code_dir }}
{{ ecommerce_home }}/venvs/{{ ecommerce_service_name }}/bin/python manage.py collectstatic --noinput
{{ ecommerce_home }}/venvs/{{ ecommerce_service_name }}/bin/python {{ ecommerce_manage }} {{ item }}
sudo_user: "{{ ecommerce_user }}"
environment: "{{ ecommerce_environment }}"
with_items:
- "collectstatic --noinput"
- "compress"
- name: write out the supervisor wrapper
template: >
......
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