manifest.json 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. {
  2. "name": "YunoHost example app",
  3. "id": "ynhexample",
  4. "packaging_format": 1,
  5. "description": {
  6. "en": "Example package for YunoHost application.",
  7. "fr": "Exemple de package d’application pour YunoHost."
  8. },
  9. "version": "1.0~ynh1",
  10. "url": "https://example.com",
  11. "license": "free",
  12. "maintainer": {
  13. "name": "John doe",
  14. "email": "john.doe@example.com",
  15. "url": "http://example.com"
  16. },
  17. "requirements": {
  18. "yunohost": ">= 3.4"
  19. },
  20. "multi_instance": true,
  21. "services": [
  22. "nginx",
  23. "php7.0-fpm",
  24. "mysql"
  25. ],
  26. "arguments": {
  27. "install" : [
  28. {
  29. "name": "domain",
  30. "type": "domain",
  31. "ask": {
  32. "en": "Choose a domain name for ynhexample",
  33. "fr": "Choisissez un nom de domaine pour ynhexample"
  34. },
  35. "example": "example.com"
  36. },
  37. {
  38. "name": "path",
  39. "type": "path",
  40. "ask": {
  41. "en": "Choose a path for ynhexample",
  42. "fr": "Choisissez un chemin pour ynhexample"
  43. },
  44. "example": "/example",
  45. "default": "/example"
  46. },
  47. {
  48. "name": "admin",
  49. "type": "user",
  50. "ask": {
  51. "en": "Choose an admin user",
  52. "fr": "Choisissez l’administrateur"
  53. },
  54. "example": "johndoe"
  55. },
  56. {
  57. "name": "is_public",
  58. "type": "boolean",
  59. "ask": {
  60. "en": "Is it a public application?",
  61. "fr": "Est-ce une application publique ?"
  62. },
  63. "default": true
  64. },
  65. {
  66. "name": "language",
  67. "type": "string",
  68. "ask": {
  69. "en": "Choose the application language",
  70. "fr": "Choisissez la langue de l'application"
  71. },
  72. "choices": ["fr", "en"],
  73. "default": "fr"
  74. },
  75. {
  76. "name": "password",
  77. "type": "password",
  78. "ask": {
  79. "en": "Set the administrator password",
  80. "fr": "Définissez le mot de passe administrateur"
  81. },
  82. "help": {
  83. "en": "Use the help field to add an information for the admin about this question.",
  84. "fr": "Utilisez le champ aide pour ajouter une information à l'intention de l'administrateur à propos de cette question."
  85. },
  86. "example": "Choose a password"
  87. }
  88. ]
  89. }
  90. }