2014-10-20 16:55:53 +00:00
|
|
|
|
{
|
2014-10-20 17:32:56 +00:00
|
|
|
|
"name": "YunoHost example app",
|
2014-10-20 16:55:53 +00:00
|
|
|
|
"id": "ynhexample",
|
2016-04-28 15:53:17 +00:00
|
|
|
|
"packaging_format": 1,
|
2014-10-20 16:55:53 +00:00
|
|
|
|
"description": {
|
2016-01-31 16:14:13 +00:00
|
|
|
|
"en": "Example package for YunoHost application.",
|
|
|
|
|
"fr": "Exemple de package d’application pour YunoHost."
|
2014-10-20 16:55:53 +00:00
|
|
|
|
},
|
2018-06-28 20:05:35 +00:00
|
|
|
|
"version": "1.0~ynh1",
|
2016-01-31 16:14:13 +00:00
|
|
|
|
"url": "https://example.com",
|
2015-12-16 20:02:39 +00:00
|
|
|
|
"license": "free",
|
2015-06-22 10:40:00 +00:00
|
|
|
|
"maintainer": {
|
2014-10-20 16:55:53 +00:00
|
|
|
|
"name": "John doe",
|
|
|
|
|
"email": "john.doe@example.com",
|
|
|
|
|
"url": "http://example.com"
|
|
|
|
|
},
|
2016-04-26 14:05:50 +00:00
|
|
|
|
"requirements": {
|
2018-06-28 20:05:35 +00:00
|
|
|
|
"yunohost": ">= 2.7.14"
|
2016-04-26 14:05:50 +00:00
|
|
|
|
},
|
|
|
|
|
"multi_instance": true,
|
2015-11-22 18:48:18 +00:00
|
|
|
|
"services": [
|
|
|
|
|
"nginx",
|
2019-01-29 23:32:16 +00:00
|
|
|
|
"php7.0-fpm",
|
2015-11-22 18:48:18 +00:00
|
|
|
|
"mysql"
|
|
|
|
|
],
|
2014-10-20 16:55:53 +00:00
|
|
|
|
"arguments": {
|
|
|
|
|
"install" : [
|
|
|
|
|
{
|
|
|
|
|
"name": "domain",
|
2017-02-03 20:13:25 +00:00
|
|
|
|
"type": "domain",
|
2014-10-20 16:55:53 +00:00
|
|
|
|
"ask": {
|
2016-01-31 16:14:13 +00:00
|
|
|
|
"en": "Choose a domain name for ynhexample",
|
|
|
|
|
"fr": "Choisissez un nom de domaine pour ynhexample"
|
2014-10-20 16:55:53 +00:00
|
|
|
|
},
|
|
|
|
|
"example": "example.com"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "path",
|
2017-02-03 20:13:25 +00:00
|
|
|
|
"type": "path",
|
2014-10-20 16:55:53 +00:00
|
|
|
|
"ask": {
|
2015-10-27 15:03:21 +00:00
|
|
|
|
"en": "Choose a path for ynhexample",
|
|
|
|
|
"fr": "Choisissez un chemin pour ynhexample"
|
2014-10-20 16:55:53 +00:00
|
|
|
|
},
|
2014-10-20 17:32:56 +00:00
|
|
|
|
"example": "/example",
|
|
|
|
|
"default": "/example"
|
2014-10-20 16:55:53 +00:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "admin",
|
2017-02-03 20:13:25 +00:00
|
|
|
|
"type": "user",
|
2014-10-20 16:55:53 +00:00
|
|
|
|
"ask": {
|
2015-10-27 15:03:21 +00:00
|
|
|
|
"en": "Choose an admin user",
|
2016-01-31 16:14:13 +00:00
|
|
|
|
"fr": "Choisissez l’administrateur"
|
2014-10-20 16:55:53 +00:00
|
|
|
|
},
|
|
|
|
|
"example": "johndoe"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "is_public",
|
2016-04-26 13:57:57 +00:00
|
|
|
|
"type": "boolean",
|
2014-10-20 16:55:53 +00:00
|
|
|
|
"ask": {
|
2016-01-31 16:14:13 +00:00
|
|
|
|
"en": "Is it a public application?",
|
2015-10-27 15:03:21 +00:00
|
|
|
|
"fr": "Est-ce une application publique ?"
|
2014-10-20 16:55:53 +00:00
|
|
|
|
},
|
2016-04-26 13:57:57 +00:00
|
|
|
|
"default": true
|
2016-02-16 13:05:27 +00:00
|
|
|
|
},
|
|
|
|
|
{
|
2016-04-26 13:57:57 +00:00
|
|
|
|
"name": "language",
|
|
|
|
|
"ask": {
|
|
|
|
|
"en": "Choose the application language",
|
|
|
|
|
"fr": "Choisissez la langue de l'application"
|
2016-02-16 13:05:27 +00:00
|
|
|
|
},
|
2016-04-26 13:57:57 +00:00
|
|
|
|
"choices": ["fr", "en"],
|
|
|
|
|
"default": "fr"
|
2018-06-28 20:05:35 +00:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"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"
|
2014-10-20 16:55:53 +00:00
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|