2016-12-21 18:31:37 +01:00
|
|
|
{
|
|
|
|
"name": "COPS",
|
2016-12-22 01:00:35 +01:00
|
|
|
"id": "cops",
|
2016-12-21 18:31:37 +01:00
|
|
|
"packaging_format": 1,
|
|
|
|
"description": {
|
|
|
|
"en": "Calibre OPDS (and HTML) PHP Server",
|
|
|
|
"fr": "Calibre OPDS (et HTML) PHP Serveur"
|
|
|
|
},
|
|
|
|
"url": "https://github.com/YunoHost-Apps/cops_ynh",
|
|
|
|
"license": "free",
|
|
|
|
"maintainer": {
|
|
|
|
"name": "polytan02",
|
|
|
|
"email": "polytan02@mcgva.org"
|
|
|
|
},
|
|
|
|
"multi_instance": true,
|
|
|
|
"services": [
|
|
|
|
"nginx",
|
|
|
|
"php5-fpm"
|
|
|
|
],
|
|
|
|
"requirements": {
|
|
|
|
"yunohost": ">= 2.4.0"
|
|
|
|
},
|
|
|
|
"arguments": {
|
|
|
|
"install" : [
|
|
|
|
{
|
|
|
|
"name": "domain",
|
|
|
|
"type": "domain",
|
|
|
|
"ask": {
|
|
|
|
"en": "Choose a domain for your Webapp",
|
|
|
|
"fr": "Choisissez un domaine pour votre Webapp"
|
|
|
|
},
|
|
|
|
"example": "domain.org"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "path",
|
|
|
|
"type": "path",
|
|
|
|
"ask": {
|
|
|
|
"en": "Choose a path for your Webapp",
|
|
|
|
"fr": "Choisissez un chemin pour votre Webapp"
|
|
|
|
},
|
|
|
|
"example": "/eBooks",
|
|
|
|
"default": "/eBooks"
|
|
|
|
},
|
2016-12-22 03:42:11 +01:00
|
|
|
{
|
|
|
|
"name": "runninguser",
|
|
|
|
"ask": {
|
|
|
|
"en": "Under which system user should COPS run ?",
|
|
|
|
"fr": "Sous quel utilisateur systeme COPS doit-il fonctionner ?"
|
|
|
|
},
|
|
|
|
"choices": ["owncloud", "nextcloud", "www-data"],
|
|
|
|
"default": "owncloud"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "calibrepath",
|
|
|
|
"type": "path",
|
|
|
|
"ask": {
|
|
|
|
"en": "Indicate the location of Calibre library. It MUST end with a / and DON'T store it in your /var/www/cops !!",
|
|
|
|
"fr": "Indiquez le chemin de votre bibliotheque Calibre. Cela DOIT se terminer par un / et ne la mettez pas dans /var/www/cops !!!"
|
|
|
|
},
|
|
|
|
"example": "/home/yunohost.app/owncloud/data/johndoe/files/eBooks/",
|
|
|
|
"default": "/home/yunohost.app/owncloud/data/johndoe/files/eBooks/"
|
|
|
|
},
|
2016-12-21 18:31:37 +01:00
|
|
|
{
|
|
|
|
"name": "is_public",
|
|
|
|
"ask": {
|
|
|
|
"en": "Is it a public website ?",
|
|
|
|
"fr": "Est-ce un site publique ?"
|
|
|
|
},
|
|
|
|
"choices": ["Yes", "No"],
|
|
|
|
"default": "Yes"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|