1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/weblate_ynh.git synced 2024-10-01 13:35:04 +02:00

Update install

This commit is contained in:
Thomas 2024-09-30 22:12:32 +02:00 committed by GitHub
parent ffd6609622
commit 593e93bbb7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -118,7 +118,9 @@ set_forge_variables
ynh_config_add --template="settings.py" --destination="$settings" ynh_config_add --template="settings.py" --destination="$settings"
ynh_config_add --template="celery-weblate" --destination="$install_dir/celery-weblate" ynh_config_add --template="celery-weblate" --destination="$install_dir/celery-weblate"
ynh_config_add --template="uwsgi.ini" --destination="/etc/uwsgi/apps-available/$app.ini" ynh_config_add --template="uwsgi.ini" --destination="/etc/uwsgi/apps-available/$app.ini"
chmod 640 "/etc/uwsgi/apps-available/$app.ini" chmod 640 "/etc/uwsgi/apps-available/$app.ini"
chown $app:$app "/etc/uwsgi/apps-available/$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"