manifest.json 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  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": ">= 2.7.14"
  19. },
  20. "multi_instance": true,
  21. "services": [
  22. "nginx",
  23. "php5-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. "ask": {
  68. "en": "Choose the application language",
  69. "fr": "Choisissez la langue de l'application"
  70. },
  71. "choices": ["fr", "en"],
  72. "default": "fr"
  73. },
  74. {
  75. "name": "password",
  76. "type": "password",
  77. "ask": {
  78. "en": "Set the administrator password",
  79. "fr": "Définissez le mot de passe administrateur"
  80. },
  81. "help": {
  82. "en": "Use the help field to add an information for the admin about this question.",
  83. "fr": "Utilisez le champ aide pour ajouter une information à l'intention de l'administrateur à propos de cette question."
  84. },
  85. "example": "Choose a password"
  86. }
  87. ]
  88. }
  89. }