diff --git a/ALL_README.md b/ALL_README.md index 3d6c579..77b7509 100644 --- a/ALL_README.md +++ b/ALL_README.md @@ -1,6 +1,6 @@ # All available README files by language - [Read the README in English](README.md) +- [Irakurri README euskaraz](README_eu.md) - [Lire le README en français](README_fr.md) - [Le o README en galego](README_gl.md) -- [Leggi il “README” in italiano](README_it.md) diff --git a/README.md b/README.md index 5ca0ed7..5d0f6ce 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ It shall NOT be edited by hand. [![Install Overleaf with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=overleaf) -*[Read this README is other languages.](./ALL_README.md)* +*[Read this README in other languages.](./ALL_README.md)* > *This package allows you to install Overleaf quickly and simply on a YunoHost server.* > *If you don't have YunoHost, please consult [the guide](https://yunohost.org/install) to learn how to install it.* diff --git a/README_eu.md b/README_eu.md new file mode 100644 index 0000000..cfb6bc5 --- /dev/null +++ b/README_eu.md @@ -0,0 +1,48 @@ + + +# Overleaf YunoHost-erako + +[![Integrazio maila](https://dash.yunohost.org/integration/overleaf.svg)](https://dash.yunohost.org/appci/app/overleaf) ![Funtzionamendu egoera](https://ci-apps.yunohost.org/ci/badges/overleaf.status.svg) ![Mantentze egoera](https://ci-apps.yunohost.org/ci/badges/overleaf.maintain.svg) + +[![Instalatu Overleaf YunoHost-ekin](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=overleaf) + +*[Irakurri README hau beste hizkuntzatan.](./ALL_README.md)* + +> *Pakete honek Overleaf YunoHost zerbitzari batean azkar eta zailtasunik gabe instalatzea ahalbidetzen dizu.* +> *YunoHost ez baduzu, kontsultatu [gida](https://yunohost.org/install) nola instalatu ikasteko.* + +## Aurreikuspena + +Overleaf is an open-source online real-time collaborative LaTeX editor. + + +**Paketatutako bertsioa:** 2024.01.26~ynh1 + +## Pantaila-argazkiak + +![Overleaf(r)en pantaila-argazkia](./doc/screenshots/screenshot.png) + +## Dokumentazioa eta baliabideak + +- Aplikazioaren webgune ofiziala: +- Erabiltzaileen dokumentazio ofiziala: +- Jatorrizko aplikazioaren kode-gordailua: +- YunoHost Denda: +- Eman errore baten berri: + +## Garatzaileentzako informazioa + +Bidali `pull request`a [`testing` abarrera](https://github.com/YunoHost-Apps/overleaf_ynh/tree/testing). + +`testing` abarra probatzeko, ondorengoa egin: + +```bash +sudo yunohost app install https://github.com/YunoHost-Apps/overleaf_ynh/tree/testing --debug +edo +sudo yunohost app upgrade overleaf -u https://github.com/YunoHost-Apps/overleaf_ynh/tree/testing --debug +``` + +**Informazio gehiago aplikazioaren paketatzeari buruz:** diff --git a/scripts/upgrade b/scripts/upgrade index 621949c..f16f6b4 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -19,6 +19,15 @@ upgrade_type=$(ynh_check_app_version_changed) # Retrieve YunoHost main domain for mails to work main_domain=$(cat /etc/yunohost/current_host) +#================================================= +# LOAD SETTINGS +#================================================= + +if [ -z "${jwt_key:-}" ]; then + jwt_key=$(ynh_string_random --length=45 | base64) + ynh_app_setting_set --app=$app --key=jwt_key --value=$jwt_key +fi + #================================================= # STANDARD UPGRADE STEPS #=================================================