mirror of
https://gitlab.crans.org/bde/nk20
synced 2024-12-18 13:32:28 +00:00
31 lines
831 B
YAML
31 lines
831 B
YAML
---
|
|
- name: Collect static files
|
|
command: /var/www/note_kfet/env/bin/python manage.py collectstatic --noinput
|
|
args:
|
|
chdir: /var/www/note_kfet
|
|
become_user: www-data
|
|
|
|
- name: Migrate Django database
|
|
command: /var/www/note_kfet/env/bin/python manage.py migrate
|
|
args:
|
|
chdir: /var/www/note_kfet
|
|
become_user: postgres
|
|
|
|
- name: Compile messages
|
|
command: /var/www/note_kfet/env/bin/python manage.py compilemessages
|
|
args:
|
|
chdir: /var/www/note_kfet
|
|
become_user: www-data
|
|
|
|
- name: Compile JavaScript messages
|
|
command: /var/www/note_kfet/env/bin/python manage.py compilejsmessages
|
|
args:
|
|
chdir: /var/www/note_kfet
|
|
become_user: www-data
|
|
|
|
- name: Install initial fixtures
|
|
command: /var/www/note_kfet/env/bin/python manage.py loaddata initial
|
|
args:
|
|
chdir: /var/www/note_kfet
|
|
become_user: postgres
|