manifest.json 2.1 KB

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