2014-10-20 18:55:53 +02:00
|
|
|
|
{
|
2014-10-20 19:32:56 +02:00
|
|
|
|
"name": "YunoHost example app",
|
2014-10-20 18:55:53 +02:00
|
|
|
|
"id": "ynhexample",
|
|
|
|
|
"description": {
|
2016-01-31 17:14:13 +01:00
|
|
|
|
"en": "Example package for YunoHost application.",
|
|
|
|
|
"fr": "Exemple de package d’application pour YunoHost."
|
2014-10-20 18:55:53 +02:00
|
|
|
|
},
|
2016-01-31 17:14:13 +01:00
|
|
|
|
"url": "https://example.com",
|
2015-12-16 21:02:39 +01:00
|
|
|
|
"license": "free",
|
2015-06-22 12:40:00 +02:00
|
|
|
|
"maintainer": {
|
2014-10-20 18:55:53 +02:00
|
|
|
|
"name": "John doe",
|
|
|
|
|
"email": "john.doe@example.com",
|
|
|
|
|
"url": "http://example.com"
|
|
|
|
|
},
|
2016-03-18 17:31:44 +01:00
|
|
|
|
"multi_instance": "true",
|
2015-11-22 19:48:18 +01:00
|
|
|
|
"services": [
|
|
|
|
|
"nginx",
|
|
|
|
|
"php5-fpm",
|
|
|
|
|
"mysql"
|
|
|
|
|
],
|
2014-10-20 18:55:53 +02:00
|
|
|
|
"arguments": {
|
|
|
|
|
"install" : [
|
|
|
|
|
{
|
|
|
|
|
"name": "domain",
|
2016-01-31 17:14:13 +01:00
|
|
|
|
"type": "domain",
|
2014-10-20 18:55:53 +02:00
|
|
|
|
"ask": {
|
2016-01-31 17:14:13 +01:00
|
|
|
|
"en": "Choose a domain name for ynhexample",
|
|
|
|
|
"fr": "Choisissez un nom de domaine pour ynhexample"
|
2014-10-20 18:55:53 +02:00
|
|
|
|
},
|
|
|
|
|
"example": "example.com"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "path",
|
2016-01-31 17:14:13 +01:00
|
|
|
|
"type": "path",
|
2014-10-20 18:55:53 +02:00
|
|
|
|
"ask": {
|
2015-10-27 16:03:21 +01:00
|
|
|
|
"en": "Choose a path for ynhexample",
|
|
|
|
|
"fr": "Choisissez un chemin pour ynhexample"
|
2014-10-20 18:55:53 +02:00
|
|
|
|
},
|
2014-10-20 19:32:56 +02:00
|
|
|
|
"example": "/example",
|
|
|
|
|
"default": "/example"
|
2014-10-20 18:55:53 +02:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "admin",
|
2016-01-31 17:14:13 +01:00
|
|
|
|
"type": "user",
|
2014-10-20 18:55:53 +02:00
|
|
|
|
"ask": {
|
2015-10-27 16:03:21 +01:00
|
|
|
|
"en": "Choose an admin user",
|
2016-01-31 17:14:13 +01:00
|
|
|
|
"fr": "Choisissez l’administrateur"
|
2014-10-20 18:55:53 +02:00
|
|
|
|
},
|
|
|
|
|
"example": "johndoe"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "is_public",
|
|
|
|
|
"ask": {
|
2016-01-31 17:14:13 +01:00
|
|
|
|
"en": "Is it a public application?",
|
2015-10-27 16:03:21 +01:00
|
|
|
|
"fr": "Est-ce une application publique ?"
|
2014-10-20 18:55:53 +02:00
|
|
|
|
},
|
|
|
|
|
"choices": ["Yes", "No"],
|
|
|
|
|
"default": "Yes"
|
2016-02-16 14:05:27 +01:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "my_boolean",
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"ask": {
|
|
|
|
|
"en": "Do you want to check this boolean ?",
|
|
|
|
|
"fr": "Tu veux cocher ce booléen ?"
|
|
|
|
|
},
|
|
|
|
|
"default": true
|
2014-10-20 18:55:53 +02:00
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|