mirror of
https://github.com/YunoHost-Apps/question2answer_ynh.git
synced 2024-09-03 20:16:07 +02:00
98 lines
3.1 KiB
JSON
98 lines
3.1 KiB
JSON
{
|
|
"name": "Question2Answer",
|
|
"id": "question2answer",
|
|
"packaging_format": 1,
|
|
"description": {
|
|
"en": "Platform for Question&Answer sites.",
|
|
"fr": "Plateforme de Question/Réponses."
|
|
},
|
|
"version": "1.8.5~ynh1",
|
|
"url": "https://www.question2answer.org/",
|
|
"license": "GPL-2.0-or-later",
|
|
"maintainer": {
|
|
"name": "Nils Van Zuijlen",
|
|
"email": "nils.van-zuijlen@mailo.com"
|
|
},
|
|
"requirements": {
|
|
"yunohost": ">= 4.1.3"
|
|
},
|
|
"multi_instance": true,
|
|
"services": [
|
|
"nginx",
|
|
"php7.0-fpm",
|
|
"mysql"
|
|
],
|
|
"arguments": {
|
|
"install" : [
|
|
{
|
|
"name": "domain",
|
|
"type": "domain",
|
|
"ask": {
|
|
"en": "Choose a domain name for Question2Answer",
|
|
"fr": "Choisissez un nom de domaine pour Question2Answer"
|
|
},
|
|
"example": "example.com"
|
|
},
|
|
{
|
|
"name": "path",
|
|
"type": "path",
|
|
"ask": {
|
|
"en": "Choose a path for Question2Answer",
|
|
"fr": "Choisissez un chemin pour Question2Answer"
|
|
},
|
|
"example": "/question2answer",
|
|
"default": "/question2answer"
|
|
},
|
|
{
|
|
"name": "is_public",
|
|
"type": "boolean",
|
|
"ask": {
|
|
"en": "Is it a public application?",
|
|
"fr": "Est-ce une application publique ?"
|
|
},
|
|
"default": true
|
|
},
|
|
{
|
|
"name": "q2a_name",
|
|
"type": "string",
|
|
"ask": {
|
|
"en": "Choose the site name",
|
|
"fr": "Choisissez le nom de votre Question2Answer"
|
|
},
|
|
"default": "My Question2Answer forum"
|
|
},
|
|
{
|
|
"name": "language",
|
|
"type": "string",
|
|
"ask": {
|
|
"en": "Choose the application language",
|
|
"fr": "Choisissez la langue de l'application"
|
|
},
|
|
"choices": ["fr", "en"],
|
|
"default": "fr"
|
|
},
|
|
{
|
|
"name": "admin",
|
|
"type": "user",
|
|
"ask": {
|
|
"en": "Choose an admin user",
|
|
"fr": "Choisissez l'administrateur"
|
|
},
|
|
"example": "johndoe"
|
|
},
|
|
{
|
|
"name": "password",
|
|
"type": "password",
|
|
"ask": {
|
|
"en": "Set the administrator password",
|
|
"fr": "Définissez le mot de passe administrateur"
|
|
},
|
|
"help": {
|
|
"en": "Use the help field to add an information for the admin about this question.",
|
|
"fr": "Utilisez le champ aide pour ajouter une information à l'intention de l'administrateur à propos de cette question."
|
|
},
|
|
"example": "Choose a password"
|
|
}
|
|
]
|
|
}
|
|
}
|