1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/weblate_ynh.git synced 2024-10-01 13:35:04 +02:00
This commit is contained in:
Thomas 2024-01-19 19:47:21 +01:00 committed by GitHub
parent f7b1b5d3fa
commit 473765263f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -3,7 +3,7 @@ plugins = python3
master = true master = true
protocol = uwsgi protocol = uwsgi
socket = /var/run/__APP__/socket socket = /var/run/__APP__/socket
wsgi-file = /etc/uwsgi/apps-available/__APP__.ini wsgi-file = __INSTALL_DIR__/venv/lib/$weblate_pypath/site-packages/weblate/__APP__.ini
# Add path to Weblate checkout if you did not install # Add path to Weblate checkout if you did not install
# Weblate by pip # Weblate by pip

View file

@ -128,7 +128,7 @@ set_forge_variables
ynh_add_config --template="../conf/settings.py" --destination="$settings" ynh_add_config --template="../conf/settings.py" --destination="$settings"
ynh_add_config --template="../conf/celery-weblate" --destination="$install_dir/celery-weblate" ynh_add_config --template="../conf/celery-weblate" --destination="$install_dir/celery-weblate"
ynh_add_config --template="../conf/uwsgi.ini" --destination="/etc/uwsgi/apps-available/$app.ini" ynh_add_config --template="../conf/uwsgi.ini" --destination="$install_dir/venv/lib/$weblate_pypath/site-packages/weblate/$app.ini"
touch "$install_dir/local_settings.py" touch "$install_dir/local_settings.py"
ln -sf "$install_dir/local_settings.py" "$install_dir/venv/lib/$weblate_pypath/site-packages/weblate/local_settings.py" ln -sf "$install_dir/local_settings.py" "$install_dir/venv/lib/$weblate_pypath/site-packages/weblate/local_settings.py"