Implement some best practice and mysql example

This commit is contained in:
mbugeia
2015-10-27 16:03:21 +01:00
parent 3b0b1bb962
commit 5bccfd3267
7 changed files with 68 additions and 13 deletions
+10 -5
View File
@@ -2,7 +2,8 @@
"name": "YunoHost example app",
"id": "ynhexample",
"description": {
"en": "Example package for Yunohost applications."
"en": "Example package for Yunohost applications.",
"fr": "Exemple de package d'application pour Yunohost."
},
"licence": "free",
"maintainer": {
@@ -16,14 +17,16 @@
{
"name": "domain",
"ask": {
"en": "Choose a domain for ynhexample"
"en": "Choose a domain for ynhexample",
"fr": "Choisissez un domaine pour ynhexample"
},
"example": "example.com"
},
{
"name": "path",
"ask": {
"en": "Choose a path for ynhexample"
"en": "Choose a path for ynhexample",
"fr": "Choisissez un chemin pour ynhexample"
},
"example": "/example",
"default": "/example"
@@ -31,14 +34,16 @@
{
"name": "admin",
"ask": {
"en": "Choose an admin user"
"en": "Choose an admin user",
"fr": "Choisissez l'administrateur"
},
"example": "johndoe"
},
{
"name": "is_public",
"ask": {
"en": "Is it a public application ?"
"en": "Is it a public application ?",
"fr": "Est-ce une application publique ?"
},
"choices": ["Yes", "No"],
"default": "Yes"