manifest.json 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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. "multi_instance": "false",
  16. "services": [
  17. "nginx",
  18. "php5-fpm",
  19. "mysql"
  20. ],
  21. "arguments": {
  22. "install" : [
  23. {
  24. "name": "domain",
  25. "type": "domain",
  26. "ask": {
  27. "en": "Choose a domain name for ynhexample",
  28. "fr": "Choisissez un nom de domaine pour ynhexample"
  29. },
  30. "example": "example.com"
  31. },
  32. {
  33. "name": "path",
  34. "type": "path",
  35. "ask": {
  36. "en": "Choose a path for ynhexample",
  37. "fr": "Choisissez un chemin pour ynhexample"
  38. },
  39. "example": "/example",
  40. "default": "/example"
  41. },
  42. {
  43. "name": "admin",
  44. "type": "user",
  45. "ask": {
  46. "en": "Choose an admin user",
  47. "fr": "Choisissez l’administrateur"
  48. },
  49. "example": "johndoe"
  50. },
  51. {
  52. "name": "is_public",
  53. "ask": {
  54. "en": "Is it a public application?",
  55. "fr": "Est-ce une application publique ?"
  56. },
  57. "choices": ["Yes", "No"],
  58. "default": "Yes"
  59. },
  60. {
  61. "name": "my_boolean",
  62. "type": "boolean",
  63. "ask": {
  64. "en": "Do you want to check this boolean ?",
  65. "fr": "Tu veux cocher ce booléen ?"
  66. },
  67. "default": true
  68. }
  69. ]
  70. }
  71. }