manifest.json 2.1 KB

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