Compare commits
6 Commits
a16f23e2be
...
01f5ba9b7a
Author | SHA1 | Date |
---|---|---|
Frédéric Péters | 01f5ba9b7a | |
Emmanuel Cazenave | 15e4d19d3f | |
Emmanuel Cazenave | 1e7528bc2f | |
Emmanuel Cazenave | 796fb1ac27 | |
Benjamin Dauvergne | 702060e25e | |
Valentin Deniaud | 6a298e8830 |
|
@ -12,9 +12,6 @@ TENANT_SETTINGS_LOADERS = ('hobo.multitenant.settings_loaders.Authentic',) + TEN
|
|||
# Add authentic2 hobo agent
|
||||
INSTALLED_APPS = ('hobo.agent.authentic2',) + INSTALLED_APPS
|
||||
|
||||
# Default login's form username label
|
||||
A2_USERNAME_LABEL = _('Email')
|
||||
|
||||
# Rest Authentication Class for services access
|
||||
REST_FRAMEWORK['DEFAULT_AUTHENTICATION_CLASSES'] += (
|
||||
'authentic2.authentication.Authentic2Authentication',
|
||||
|
|
|
@ -78,11 +78,36 @@
|
|||
name: "django-debug-toolbar<3"
|
||||
virtualenv: "{{venv_py3}}"
|
||||
|
||||
# See
|
||||
# https://dev.entrouvert.org/issues/81689
|
||||
# https://dev.entrouvert.org/issues/78773
|
||||
# https://github.com/pypa/setuptools/issues/3824#issuecomment-1432964898
|
||||
# https://github.com/xstatic-py/xstatic/commit/1d687bef3d8cfad66213e8cf9e96e0aa17aae198
|
||||
- name: install xstatic
|
||||
pip:
|
||||
name:
|
||||
- "XStatic"
|
||||
- "XStatic-ChartNew.js"
|
||||
- "XStatic-jQuery"
|
||||
- "XStatic-jquery-ui"
|
||||
- "XStatic-Leaflet"
|
||||
- "XStatic-Leaflet-GestureHandling"
|
||||
- "XStatic-Leaflet-MarkerCluster"
|
||||
- "XStatic_OpenSans"
|
||||
- "XStatic_roboto-fontface>=0.5.0.0"
|
||||
- "XStatic-Select2"
|
||||
virtualenv: "{{venv_py3}}"
|
||||
|
||||
- name: install pytest
|
||||
pip:
|
||||
name: pytest
|
||||
virtualenv: "{{venv_py3}}"
|
||||
|
||||
- name: "allow entering home"
|
||||
ansible.builtin.file:
|
||||
path: "/home/{{user}}"
|
||||
mode: "o+x"
|
||||
|
||||
- name: "create {{src_dir}} directory"
|
||||
file:
|
||||
path: "{{src_dir}}"
|
||||
|
@ -221,8 +246,8 @@
|
|||
- source
|
||||
|
||||
- name: install python-memcached
|
||||
pip:
|
||||
name: python-memcached
|
||||
ansible.builtin.pip:
|
||||
name: python-memcached==1.59
|
||||
virtualenv: "{{venv_py3}}"
|
||||
|
||||
- name: source install django-ckeditor
|
||||
|
|
|
@ -7,13 +7,8 @@ BROKER_URL = 'amqp://'
|
|||
AGENT_HOST_PATTERNS = None
|
||||
|
||||
{% for appkey, app in apps.items() %}
|
||||
{% if appkey == 'wcs' %}
|
||||
WCS_MANAGE_COMMAND = "{{venv_py3_bin}}/wcsctl.py -f {{publik_settings}}/wcs/wcs.cfg"
|
||||
WCS_MANAGE_TRY_COMMAND = "{{venv_py3_bin}}/wcsctl.py"
|
||||
{% else %}
|
||||
{% filter upper %}{{appkey}}{% endfilter %}_MANAGE_COMMAND = "{{venv_py3_bin}}/{{app['project_name']}}-manage"
|
||||
{% filter upper %}{{appkey}}{% endfilter %}_MANAGE_TRY_COMMAND = {% filter upper %}{{appkey}}{% endfilter %}_MANAGE_COMMAND
|
||||
{% endif %}
|
||||
|
||||
{% endfor %}
|
||||
|
||||
|
|
Loading…
Reference in New Issue