Skip to content
Snippets Groups Projects
Commit 82075a52 authored by Hervé  MENAGER's avatar Hervé MENAGER
Browse files

WIP ansible, add collectstatic step in django deployment

Former-commit-id: 6c632aaf4263a60d8d0a9b20d740b3be5071231f
parent 77f57dda
No related branches found
No related tags found
No related merge requests found
......@@ -16,6 +16,10 @@
tasks:
- name: install python requirements
pip: requirements=/home/ippidb/iPPIDB/ippisite/requirements.txt extra_args=--upgrade executable=pip3
- name: collect static files
django_manage:
command: "collectstatic"
app_path: "/home/ippidb/iPPIDB/ippisite"
- name: create mod_wsgi configuration
django_manage:
command: "runmodwsgi --setup-only --port=80 --user ippidb --group wheel --server-root=/etc/ippidb-80"
......
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