Following the decision taken during last meeting. See "## Format version (packaging_version)" here http://pv.yunohost.org/meeting/63-yunohost-3-2016/
59 lines
1.8 KiB
JSON
59 lines
1.8 KiB
JSON
{
|
|
"name": "Custom Webapp",
|
|
"id": "my_webapp",
|
|
"packaging_format": 1,
|
|
"description": {
|
|
"en": "Empty App with a file access to the web directory",
|
|
"fr": "Répertoire Web vide avec un accès fichier"
|
|
},
|
|
"maintainer": {
|
|
"name": "kload",
|
|
"email": "kload@kload.fr"
|
|
},
|
|
"multi_instance": "true",
|
|
"services": [
|
|
"nginx",
|
|
"php5-fpm"
|
|
],
|
|
"arguments": {
|
|
"install" : [
|
|
{
|
|
"name": "domain",
|
|
"type": "domain",
|
|
"ask": {
|
|
"en": "Choose a domain for your Webapp",
|
|
"fr": "Choisissez un domaine pour votre Webapp"
|
|
},
|
|
"example": "domain.org"
|
|
},
|
|
{
|
|
"name": "path",
|
|
"type": "path",
|
|
"ask": {
|
|
"en": "Choose a path for your Webapp",
|
|
"fr": "Choisissez un chemin pour votre Webapp"
|
|
},
|
|
"example": "/site",
|
|
"default": "/site"
|
|
},
|
|
{
|
|
"name": "admin",
|
|
"type": "user",
|
|
"ask": {
|
|
"en": "Choose the YunoHost user who will be able to upload documents to this directory",
|
|
"fr": "Choisissez l'utilisateur YunoHost qui sera capable d'envoyer des documents dans ce répertoire web"
|
|
},
|
|
"example": "johndoe"
|
|
},
|
|
{
|
|
"name": "is_public",
|
|
"ask": {
|
|
"en": "Is it a public website ?",
|
|
"fr": "Est-ce un site public ?"
|
|
},
|
|
"choices": ["Yes", "No"],
|
|
"default": "Yes"
|
|
}
|
|
]
|
|
}
|
|
}
|