manifest.json 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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",
  10. "url": "https://example.com",
  11. "license": "free",
  12. "version": "1.0",
  13. "maintainer": {
  14. "name": "John doe",
  15. "email": "john.doe@example.com",
  16. "url": "http://example.com"
  17. },
  18. "requirements": {
  19. "yunohost": ">= 2.7.2"
  20. },
  21. "multi_instance": true,
  22. "services": [
  23. "nginx",
  24. "php5-fpm",
  25. "mysql"
  26. ],
  27. "arguments": {
  28. "install" : [
  29. {
  30. "name": "domain",
  31. "type": "domain",
  32. "ask": {
  33. "en": "Choose a domain name for ynhexample",
  34. "fr": "Choisissez un nom de domaine pour ynhexample"
  35. },
  36. "example": "example.com"
  37. },
  38. {
  39. "name": "path",
  40. "type": "path",
  41. "ask": {
  42. "en": "Choose a path for ynhexample",
  43. "fr": "Choisissez un chemin pour ynhexample"
  44. },
  45. "example": "/example",
  46. "default": "/example"
  47. },
  48. {
  49. "name": "admin",
  50. "type": "user",
  51. "ask": {
  52. "en": "Choose an admin user",
  53. "fr": "Choisissez l’administrateur"
  54. },
  55. "example": "johndoe"
  56. },
  57. {
  58. "name": "is_public",
  59. "type": "boolean",
  60. "ask": {
  61. "en": "Is it a public application?",
  62. "fr": "Est-ce une application publique ?"
  63. },
  64. "default": true
  65. },
  66. {
  67. "name": "language",
  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. }
  77. }