manifest.json 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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. "maintainer": {
  13. "name": "John doe",
  14. "email": "john.doe@example.com",
  15. "url": "http://example.com"
  16. },
  17. "requirements": {
  18. "yunohost": ">= 2.7.2"
  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. }
  76. }