1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/spip_ynh.git synced 2024-09-03 20:25:59 +02:00

add auto readme

This commit is contained in:
Kay0u 2022-02-07 14:14:25 +01:00
parent 0b84cebc96
commit 8dacaed9ba
No known key found for this signature in database
GPG key ID: AAFEEB16CFA2AE2D
3 changed files with 75 additions and 2 deletions

29
doc/DISCLAIMER _fr.md Normal file
View file

@ -0,0 +1,29 @@
## Configuration
Comment configurer cette application: via le panneau d'administration.
#### Support multi-utilisateurs
* L'authentification LDAP et HTTP est-elle prise en charge? **Oui**
* L'application peut-elle être utilisée par plusieurs utilisateurs? **Oui**
## Migration depuis SPIP2
**Ceci n'est pas encore considéré comme stable, veuillez le faire avec soin et uniquement pour test!**
Ce paquet gère la migration de SPIP2 vers SPIP. Pour cela, votre application SPIP2 doit être **à jour** dans YunoHost. Pour s'en assurer :
```bash
sudo yunohost app upgrade -u https://github.com/YunoHost-Apps/spip2_ynh spip2 --debug
```
Vous devrez ensuite mettre à jour votre application SPIP2 avec ce dépôt.
Cela ne peut se faire qu'à partir de l'interface en ligne de commande - par exemple via SSH. Une fois connecté, il vous suffit d'exécuter ce qui suit :
```bash
sudo yunohost app upgrade -u https://github.com/YunoHost-Apps/spip_ynh spip2 --debug
```
L'option `--debug` vous permettra de voir la sortie complète. Si vous rencontrez un problème, veuillez ouvrir une issue.
Notez qu'une tâche cron sera exécutée après la fin de cette commande. Vous devez attendre cela avant de faire toute autre opération d'application ! Vous devriez voir que SPIP est installé après cela.

32
doc/DISCLAIMER.md Normal file
View file

@ -0,0 +1,32 @@
## Configuration
How to configure this app: by an admin panel.
#### Multi-users support
* Are LDAP and HTTP auth supported? **Yes**
* Can the app be used by multiple users? **Yes**
## Migrate from SPIP2
**This is not considered as stable yet, please do it with care and only for testing!**
This package handle the migration from SPIP2 to SPIP. For that, your
SPIP2 application must be **up-to-date** in YunoHost. To ensure that, execute:
```bash
sudo yunohost app upgrade -u https://github.com/YunoHost-Apps/spip2_ynh spip2 --debug
```
You will then have to upgrade your SPIP2 application with this repository.
This can only be done from the command-line interface - e.g. through SSH. Once you're connected, you simply have to execute the following:
```bash
sudo yunohost app upgrade -u https://github.com/YunoHost-Apps/spip_ynh spip2 --debug
```
The `--debug` option will let you see the full output. If you encounter any issue, please paste it.
Note that a cron job will be executed at some time after the end of this
command. You must wait that before doing any other application operations!
You should see that SPIP is installed after that.

View file

@ -8,6 +8,14 @@
}, },
"version": "4.0.1~ynh1", "version": "4.0.1~ynh1",
"url": "http://www.spip.net/", "url": "http://www.spip.net/",
"upstream": {
"license": "GPL-3.0-or-later",
"website": "http://www.spip.net/",
"demo": "https://demo.spip.net/",
"admindoc": "https://www.spip.net/en_rubrique209.html",
"userdoc": "https://www.spip.net/en_rubrique57.html",
"code": "https://git.spip.net/spip/spip"
},
"license": "GPL-3.0-or-later", "license": "GPL-3.0-or-later",
"maintainer": { "maintainer": {
"name": "cyp", "name": "cyp",
@ -22,7 +30,7 @@
"mysql" "mysql"
], ],
"arguments": { "arguments": {
"install" : [ "install": [
{ {
"name": "domain", "name": "domain",
"type": "domain" "type": "domain"
@ -53,7 +61,11 @@
"en": "Choose the status of YunoHost users", "en": "Choose the status of YunoHost users",
"fr": "Choisissez le status des utilisateurs de YunoHost" "fr": "Choisissez le status des utilisateurs de YunoHost"
}, },
"choices": ["Administrator", "Editor", "Visitor"], "choices": [
"Administrator",
"Editor",
"Visitor"
],
"default": "Editor" "default": "Editor"
} }
] ]