run welco in python3 (#40797)

This commit is contained in:
Nicolas Roche 2020-03-17 12:35:54 +01:00
parent dbaa976176
commit bfea631eac
2 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@ AGENT_HOST_PATTERNS = {
WCS_MANAGE_COMMAND = "{{venv_py3_bin}}/wcsctl.py -f {{publik_settings}}/wcs/wcs.cfg"
WCS_MANAGE_TRY_COMMAND = "{{venv_py3_bin}}/wcsctl.py"
{% else %}
{% if appkey in ('bijoe', 'combo', 'chrono', 'fargo', 'passerelle', 'authentic', 'hobo') %}
{% if appkey in ('authentic', 'bijoe', 'combo', 'chrono', 'fargo', 'hobo', 'passerelle', 'welco') %}
{# applications en python3 #}
{% filter upper %}{{appkey}}{% endfilter %}_MANAGE_COMMAND = "{{venv_py3_bin}}/{{app['project_name']}}-manage"
{% else %}

View File

@ -2,10 +2,10 @@ app_name: welco
compile_scss: false
compile_translations: true
db_name: "{{apps['welco']['db_name']}}"
manage_cmd: "{{venv_python}} {{src_dir}}/welco/manage.py"
manage_cmd: "{{venv_py3_python}} {{src_dir}}/welco/manage.py"
nginx_host_pattern: "{{apps['welco']['nginx_host_pattern']}}"
nginx_template_name: "welco-nginx-server.j2"
project_name: "{{apps['welco']['project_name']}}"
server_port: "{{apps['welco']['server_port']}}"
settings_env_var: WELCO_SETTINGS_FILE
virtualenv: "{{venv}}"
virtualenv: "{{venv_py3}}"