mirror of
https://github.com/YunoHost-Apps/weblate_ynh.git
synced 2024-10-01 13:35:04 +02:00
some fixes
This commit is contained in:
parent
c3997adf31
commit
426256b7fa
4 changed files with 5 additions and 5 deletions
|
@ -860,7 +860,7 @@ SILENCED_SYSTEM_CHECKS = [
|
||||||
# CELERY_TASK_EAGER_PROPAGATES = True
|
# CELERY_TASK_EAGER_PROPAGATES = True
|
||||||
# Celery worker configuration for production
|
# Celery worker configuration for production
|
||||||
CELERY_TASK_ALWAYS_EAGER = False
|
CELERY_TASK_ALWAYS_EAGER = False
|
||||||
CELERY_BROKER_URL = "redis://127.0.0.1:6379"
|
CELERY_BROKER_URL = "redis://127.0.0.1:6379/__REDIS_DB__"
|
||||||
CELERY_RESULT_BACKEND = CELERY_BROKER_URL
|
CELERY_RESULT_BACKEND = CELERY_BROKER_URL
|
||||||
|
|
||||||
# Celery settings, it is not recommended to change these
|
# Celery settings, it is not recommended to change these
|
||||||
|
|
|
@ -94,9 +94,7 @@ ram.runtime = "3G"
|
||||||
|
|
||||||
[resources.apt]
|
[resources.apt]
|
||||||
#first § = weblate dependecies, second § = borgbackup dependencies
|
#first § = weblate dependecies, second § = borgbackup dependencies
|
||||||
packages = "libxml2-dev, libxslt-dev, libfreetype6-dev, libjpeg-dev, libz-dev, libyaml-dev, libffi-dev, libcairo-dev, gir1.2-pango-1.0, libgirepository1.0-dev, libacl1-dev, libssl-dev, libpq-dev, libjpeg62-turbo-dev, build-essential, python3-gdbm, python3-dev, python3-pip, python3-venv, python3-virtualenv, virtualenv, git, uwsgi, uwsgi-plugin-python3, redis-server, postgresql, postgresql-contrib, hub"
|
packages = "libxml2-dev, libxslt-dev, libfreetype6-dev, libjpeg-dev, libz-dev, libyaml-dev, libffi-dev, libcairo-dev, gir1.2-pango-1.0, libgirepository1.0-dev, libacl1-dev, libssl-dev, libpq-dev, libjpeg62-turbo-dev, build-essential, python3-gdbm, python3-dev, python3-pip, python3-venv, python3-virtualenv, virtualenv, git, uwsgi, uwsgi-plugin-python3, redis-server, postgresql, postgresql-contrib, hub, libacl1-dev, libacl1, libssl-dev, liblz4-dev, libzstd-dev, libxxhash-dev, build-essential, pkg-config, python3-pkgconfig"
|
||||||
|
|
||||||
#libacl1-dev, libacl1, libssl-dev, liblz4-dev, libzstd-dev, libxxhash-dev, build-essential, pkg-config, python3-pkgconfig"
|
|
||||||
|
|
||||||
[resources.database]
|
[resources.database]
|
||||||
type = "postgresql"
|
type = "postgresql"
|
||||||
|
|
|
@ -101,7 +101,7 @@ chown -R $app: "$install_dir"
|
||||||
set -o nounset
|
set -o nounset
|
||||||
cd "${install_dir}"
|
cd "${install_dir}"
|
||||||
|
|
||||||
sudo --user=$app $install_dir/venv/bin/pip install --upgrade pip setuptools wheel pkgconfig xxhash
|
sudo --user=$app $install_dir/venv/bin/pip install --upgrade pip setuptools wheel pkgconfig xxhash
|
||||||
|
|
||||||
# Read the "Note" section in https://docs.weblate.org/en/weblate-4.11/admin/install/venv-debian.html#python-modules
|
# Read the "Note" section in https://docs.weblate.org/en/weblate-4.11/admin/install/venv-debian.html#python-modules
|
||||||
sudo --user=$app $install_dir/venv/bin/pip install --force-reinstall --no-binary :all: cffi
|
sudo --user=$app $install_dir/venv/bin/pip install --force-reinstall --no-binary :all: cffi
|
||||||
|
|
|
@ -16,4 +16,6 @@ test_format = 1.0
|
||||||
# Commits to test upgrade from
|
# Commits to test upgrade from
|
||||||
# -------------------------------
|
# -------------------------------
|
||||||
|
|
||||||
|
test_upgrade_from.2749e7b.name = "0.5.3 - packaging v1"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue