Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions env_vars/development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,10 @@ django_secret_key: "akr2icmg1n8%z^3fe3c+)5d0(t^cy-2_25rrl35a7@!scna^1#"

broker_url: "amqp://{{ rabbitmq_application_user }}:{{ rabbitmq_application_password }}@localhost/{{ rabbitmq_application_vhost }}"


run_django_db_migrations: true
run_django_collectstatic: true
django_collectstatic_clear: false


# Nginx settings.
Expand Down
2 changes: 2 additions & 0 deletions env_vars/vagrant.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,10 @@ broker_url: "amqp://{{ rabbitmq_application_user }}:{{ rabbitmq_application_pass

requirements_file: "{{ project_path }}/requirements_local.txt"


run_django_db_migrations: true
run_django_collectstatic: true
django_collectstatic_clear: false


# Nginx settings.
Expand Down
1 change: 1 addition & 0 deletions roles/web/tasks/setup_django_app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
app_path: "{{ project_path }}"
virtualenv: "{{ virtualenv_path }}"
settings: "{{ django_settings_file }}"
clear: "{{ django_collectstatic_clear }}"
environment: "{{ django_environment }}"
when: run_django_collectstatic is defined and run_django_collectstatic
notify: restart application
Expand Down