9869213bb3
Implement some best practice and mysql example
58 lines
1.6 KiB
JSON
58 lines
1.6 KiB
JSON
{
|
|
"name": "YunoHost example app",
|
|
"id": "ynhexample",
|
|
"description": {
|
|
"en": "Example package for Yunohost applications.",
|
|
"fr": "Exemple de package d'application pour Yunohost."
|
|
},
|
|
"licence": "free",
|
|
"maintainer": {
|
|
"name": "John doe",
|
|
"email": "john.doe@example.com",
|
|
"url": "http://example.com"
|
|
},
|
|
"multi_instance": "false",
|
|
"services": [
|
|
"nginx",
|
|
"php5-fpm",
|
|
"mysql"
|
|
],
|
|
"arguments": {
|
|
"install" : [
|
|
{
|
|
"name": "domain",
|
|
"ask": {
|
|
"en": "Choose a domain for ynhexample",
|
|
"fr": "Choisissez un domaine pour ynhexample"
|
|
},
|
|
"example": "example.com"
|
|
},
|
|
{
|
|
"name": "path",
|
|
"ask": {
|
|
"en": "Choose a path for ynhexample",
|
|
"fr": "Choisissez un chemin pour ynhexample"
|
|
},
|
|
"example": "/example",
|
|
"default": "/example"
|
|
},
|
|
{
|
|
"name": "admin",
|
|
"ask": {
|
|
"en": "Choose an admin user",
|
|
"fr": "Choisissez l'administrateur"
|
|
},
|
|
"example": "johndoe"
|
|
},
|
|
{
|
|
"name": "is_public",
|
|
"ask": {
|
|
"en": "Is it a public application ?",
|
|
"fr": "Est-ce une application publique ?"
|
|
},
|
|
"choices": ["Yes", "No"],
|
|
"default": "Yes"
|
|
}
|
|
]
|
|
}
|
|
}
|