1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/armadietto_ynh.git synced 2024-09-03 18:06:18 +02:00

Merge remote-tracking branch 'origin/testing' into fix-linter

This commit is contained in:
ericgaspar 2022-01-01 22:59:02 +01:00
commit 0ad0f6f7a3
6 changed files with 81 additions and 74 deletions

View file

@ -3,65 +3,69 @@ N.B.: This README was automatically generated by https://github.com/YunoHost/app
It shall NOT be edited by hand. It shall NOT be edited by hand.
--> -->
# Armadietto package for Yunohost # Armadietto for YunoHost
[![Integration level](https://dash.yunohost.org/integration/armadietto.svg)](https://dash.yunohost.org/appci/app/armadietto) ![](https://ci-apps.yunohost.org/ci/badges/armadietto.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/armadietto.maintain.svg)
[![Integration level](https://dash.yunohost.org/integration/armadietto.svg)](https://dash.yunohost.org/appci/app/armadietto) ![](https://ci-apps.yunohost.org/ci/badges/armadietto.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/armadietto.maintain.svg)
[![Install Armadietto with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=armadietto) [![Install Armadietto with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=armadietto)
*[Lire ce readme en français.](./README_fr.md)* *[Lire ce readme en français.](./README_fr.md)*
> *This package allows you to install example quickly and simply on a YunoHost server. > *This package allows you to install Armadietto 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.* If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/install) to learn how to install it.*
## Armadietto overview ## Overview
[Armadietto](https://github.com/remotestorage/armadietto/) is a [remoteStorage](https://remotestorage.io) server written for Node.js. ## TODO
Armadietto is maintained by remoteStorage Team [IRC](https://kiwiirc.com/client/irc.freenode.net/#remotestorage) Une description longue de ce que fait l'application
### Features
- liste des caractéristiques...
**Shipped version:** 0.0.2-beta.10~ynh3
> ### :warning: WARNING
> Please do not consider `armadietto` production ready, this project is still
> considered experimental. As with any alpha-stage storage technology, you
> MUST expect that it will eat your data and take precautions against this. You
> SHOULD expect that its APIs and storage schemas will change before it is
> labelled stable.
**Shipped version:** 0.1.5
## Screenshots ## Screenshots
![](./doc/screenshots/armadietto.png)
![](./doc/screenshots/armadietto.png)
## Disclaimers / important information ## Disclaimers / important information
### Important Notes ## TODO
RemoteStorage requires a dedicated domain, so obtain one and add it using the YunoHost admin panel. **Domains -> Add domain**. As RemoteStorage uses the full domain and is installed on the root, you can create a subdomain such as remote.domain.tld. Don't forget to update your DNS if you manage them manually.
RemoteStorage requires browser-approved SSL certificates. If you have certificates not issued by [Let's Encrypt](https://letsencrypt.org/), install them manually as usual. * Toute limitation ou contrainte connue ou tout élément ne fonctionnant pas, tel que (mais non limité à) :
* nécessitant un domaine dédié complet ?
* architectures non prises en charge ?
### Application for remoteStorage * L'authentification unique ou l'intégration LDAP ne fonctionnent pas ?
[Click here](https://remotestorage.io/apps/) to see the list of applications that can be used with RemoteStorage. * l'application nécessite une quantité importante de RAM / disque / ... pour s'installer ou fonctionner correctement.
* etc...
* D'autres informations que les gens devraient connaître, comme.. :
* toute étape spécifique à effectuer après l'installation (comme terminer manuellement l'installation, des identifiants d'administration spécifiques, ...)
* Comment configurer / administrer l'application si ce n'est pas évident.
* le processus de mise à niveau, les spécificités, les choses à savoir ?
* Considérations de sécurité
Traduit avec www.DeepL.com/Translator (version gratuite)
## Documentation and resources ## Documentation and resources
* Official app website: https://remotestorage.io/ * Official app website: https://remotestorage.io/
* Upstream app code repository: https://github.com/remotestorage/armadietto/ * Upstream app code repository: https://github.com/remotestorage/armadietto
* Report a bug: https://github.com/bencharp/armadietto_ynh/issues * YunoHost documentation for this app: https://yunohost.org/app_armadietto
* Report a bug: https://github.com/YunoHost-Apps/armadietto_ynh/issues
## Developer info ## Developer info
Please send your pull request to the [testing branch](https://github.com/bencharp/armadietto_ynh/tree/testing). Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/armadietto_ynh/tree/testing).
To try the testing branch, please proceed like that. To try the testing branch, please proceed like that.
``` ```
sudo yunohost app install https://github.com/bencharp/armadietto_ynh/tree/testing --debug sudo yunohost app install https://github.com/YunoHost-Apps/armadietto_ynh/tree/testing --debug
or or
sudo yunohost app upgrade armadietto_ynh -u https://github.com/bencharp/armadietto_ynh/tree/testing --debug sudo yunohost app upgrade armadietto -u https://github.com/YunoHost-Apps/armadietto_ynh/tree/testing --debug
``` ```
**More info regarding app packaging:** https://yunohost.org/packaging_apps

View file

@ -1,64 +1,67 @@
# Armadietto package pour Yunohost # Armadietto pour YunoHost
[![Integration level](https://dash.yunohost.org/integration/armadietto.svg)](https://dash.yunohost.org/appci/app/armadietto) ![](https://ci-apps.yunohost.org/ci/badges/armadietto.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/armadietto.maintain.svg) [![Niveau d'intégration](https://dash.yunohost.org/integration/armadietto.svg)](https://dash.yunohost.org/appci/app/armadietto) ![](https://ci-apps.yunohost.org/ci/badges/armadietto.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/armadietto.maintain.svg)
[![Installer Armadietto avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=armadietto)
[![Install Armadietto with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=armadietto)
*[Read this readme in english.](./README.md)* *[Read this readme in english.](./README.md)*
*[Lire ce readme en français.](./README_fr.md)*
> *Ce package vous permet d'installer Armadietto rapidement et simplement sur un serveur YunoHost.
Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l'installer et en profiter.*
## Vue d'ensemble
## TODO
Une description longue de ce que fait l'application
### Features
- liste des caractéristiques...
> *Ce paquetage vous permet d'installer Armadietto rapidement et simplement sur un serveur YunoHost. **Version incluse :** 0.0.2-beta.10~ynh3
Si vous n'avez pas YunoHost, veuillez consulter [le guide](https://yunohost.org/#/install) pour savoir comment l'installer.*
## Aperçu d'Armadietto
[Armadietto](https://github.com/remotestorage/armadietto/) est un serveur [remoteStorage](https://remotestorage.io) écrit pour Node.js.
Armadietto est maintenu par l'équipe remoteStorage [IRC](https://kiwiirc.com/client/irc.freenode.net/#remotestorage).
> ### :warning : WARNING
> Veuillez ne pas considérer `armadietto` comme prêt pour la production, ce projet est toujours
> comme expérimental. Comme avec toute technologie de stockage en phase alpha, vous
> devez vous attendre à ce qu'elle mange vos données et prendre des précautions contre cela. Vous
> Vous devez vous attendre à ce que ses API et ses schémas de stockage changent avant qu'il ne soit
> étiqueté comme stable.
**Version livrée:** 0.1.5
## Captures d'écran ## Captures d'écran
![](./doc/screenshots/armadietto.png)
![](./doc/screenshots/armadietto.png)
## Avertissements / informations importantes ## Avertissements / informations importantes
### Notes importantes ## TODO
RemoteStorage nécessite un domaine dédié, il faut donc en obtenir un et l'ajouter en utilisant le panneau d'administration de YunoHost. **Domaines -> Ajouter un domaine**. Comme RemoteStorage utilise le domaine complet et est installé à la racine, vous pouvez créer un sous-domaine tel que remote.domain.tld. N'oubliez pas de mettre à jour vos DNS si vous les gérez manuellement.
RemoteStorage nécessite des certificats SSL approuvés par le navigateur. Si vous disposez de certificats qui ne sont pas émis par [Let's Encrypt](https://letsencrypt.org/), installez-les manuellement comme d'habitude. * Toute limitation ou contrainte connue ou tout élément ne fonctionnant pas, tel que (mais non limité à) :
* nécessitant un domaine dédié complet ?
* architectures non prises en charge ?
### Application pour remoteStorage * L'authentification unique ou l'intégration LDAP ne fonctionnent pas ?
[Cliquez ici](https://remotestorage.io/apps/) pour voir la liste des applications qui peuvent être utilisées avec RemoteStorage. * l'application nécessite une quantité importante de RAM / disque / ... pour s'installer ou fonctionner correctement.
* etc...
* D'autres informations que les gens devraient connaître, comme.. :
* toute étape spécifique à effectuer après l'installation (comme terminer manuellement l'installation, des identifiants d'administration spécifiques, ...)
* Comment configurer / administrer l'application si ce n'est pas évident.
* le processus de mise à niveau, les spécificités, les choses à savoir ?
* Considérations de sécurité
Traduit avec www.DeepL.com/Translator (version gratuite)
## Documentations et ressources ## Documentations et ressources
* Site Web officiel de l'application : https://remotestorage.io/ * Site officiel de l'app : https://remotestorage.io/
* Dépôt de code de l'application en amont : https://github.com/remotestorage/armadietto/ * Dépôt de code officiel de l'app : https://github.com/remotestorage/armadietto
* Signalez un bogue : https://github.com/bencharp/armadietto_ynh/issues * Documentation YunoHost pour cette app : https://yunohost.org/app_armadietto
* Signaler un bug : https://github.com/YunoHost-Apps/armadietto_ynh/issues
## Informations pour les développeurs ## Informations pour les développeurs
Veuillez envoyer votre demande à la [branche de test] (https://github.com/bencharp/armadietto_ynh/tree/testing). Merci de faire vos pull request sur la [branche testing](https://github.com/YunoHost-Apps/armadietto_ynh/tree/testing).
Pour essayer la branche testing, veuillez procéder comme suit. Pour essayer la branche testing, procédez comme suit.
``` ```
sudo yunohost app install https://github.com/bencharp/armadietto_ynh/tree/testing --debug sudo yunohost app install https://github.com/YunoHost-Apps/armadietto_ynh/tree/testing --debug
ou ou
sudo yunohost app upgrade armadietto_ynh -u https://github.com/bencharp/armadietto_ynh/tree/testing --debug sudo yunohost app upgrade armadietto -u https://github.com/YunoHost-Apps/armadietto_ynh/tree/testing --debug
``` ```
**Plus d'infos sur le packaging d'applications :** https://yunohost.org/packaging_apps

View file

@ -6,7 +6,7 @@
"en": "RemoteStorage server written for Node.js", "en": "RemoteStorage server written for Node.js",
"fr": "Serveur remoteStorage écrit pour node.js" "fr": "Serveur remoteStorage écrit pour node.js"
}, },
"version": "0.0.2-beta.10~ynh2", "version": "0.0.2-beta.10~ynh3",
"url": "https://github.com/remotestorage/armadietto", "url": "https://github.com/remotestorage/armadietto",
"upstream": { "upstream": {
"license": "MIT", "license": "MIT",

View file

@ -103,7 +103,7 @@ ynh_add_nginx_config
ynh_script_progression --message="Configuring system user..." --weight=1 ynh_script_progression --message="Configuring system user..." --weight=1
# Create a system user # Create a system user
ynh_system_user_create --username=$app --home_dir="$final_path" ynh_system_user_create --username=$app
#================================================= #=================================================
# ADD A CONFIGURATION # ADD A CONFIGURATION

View file

@ -63,7 +63,7 @@ ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf"
ynh_script_progression --message="Recreating the dedicated system user..." --weight=1 ynh_script_progression --message="Recreating the dedicated system user..." --weight=1
# Create the dedicated user (if not existing) # Create the dedicated user (if not existing)
ynh_system_user_create --username=$app --home_dir="$final_path" ynh_system_user_create --username=$app
#================================================= #=================================================
# RESTORE THE APP MAIN DIR # RESTORE THE APP MAIN DIR

View file

@ -80,7 +80,7 @@ ynh_script_progression --message="Ensuring downward compatibility..." --weight=1
ynh_script_progression --message="Making sure dedicated system user exists..." --weight=1 ynh_script_progression --message="Making sure dedicated system user exists..." --weight=1
# Create a dedicated user (if not existing) # Create a dedicated user (if not existing)
ynh_system_user_create --username=$app --home_dir="$final_path" ynh_system_user_create --username=$app
#================================================= #=================================================
# CHECK AND CREATE FINAL_PATH # CHECK AND CREATE FINAL_PATH