mirror of
https://github.com/YunoHost-Apps/cops_ynh.git
synced 2024-09-03 18:25:57 +02:00
103 lines
3.8 KiB
JSON
103 lines
3.8 KiB
JSON
{
|
|
"name": "COPS",
|
|
"id": "cops",
|
|
"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"
|
|
},
|
|
{
|
|
"name": "runninguser",
|
|
"ask": {
|
|
"en": "Under which system user should COPS run ?",
|
|
"fr": "Sous quel utilisateur systeme COPS doit-il fonctionner ?"
|
|
},
|
|
"choices": ["www-data", "owncloud", "nextcloud"],
|
|
"default": "www-data"
|
|
},
|
|
{
|
|
"name": "calibrepath",
|
|
"ask": {
|
|
"en": "Indicate the location of Calibre library. DON'T store it in your /var/www/cops or it will be removed on next upgrade !!",
|
|
"fr": "Indiquez le chemin de votre bibliotheque Calibre. Ne la mettez pas dans /var/www/cops ou elle sera supprimée à la prochaine upgrade !!!"
|
|
},
|
|
"example": "/home/yunohost.app/owncloud/data/johndoe/files/eBooks",
|
|
"default": "/home/yunohost.app/owncloud/data/johndoe/files/eBooks"
|
|
},
|
|
{
|
|
"name": "is_public",
|
|
"ask": {
|
|
"en": "Is it a public website ?",
|
|
"fr": "Est-ce un site publique ?"
|
|
},
|
|
"choices": ["Yes", "No"],
|
|
"default": "Yes"
|
|
},
|
|
{
|
|
"name": "basicauthcreate",
|
|
"ask": {
|
|
"en": "Create a basic auth access ? This is required if the app is public so that ereaders to access the OPDS server, for example",
|
|
"fr": "Créer un accès par authentification basique ? Ceci est requis si votre bibliothèque est publique et vous voulez accéder au serveur OPDS avec votre liseuse ou application mobile"
|
|
},
|
|
"choices": ["Yes", "No"],
|
|
"default": "Yes"
|
|
},
|
|
{
|
|
"name": "basicauthuser",
|
|
"ask": {
|
|
"en": "Choose the username to access the OPDS/HTML server (unrelated to YunoHost users)",
|
|
"fr": "Indiquez le nom d'utilisateur pour accéder au serveur OPDS/HTML (non lié utilisateurs YunoHost)"
|
|
},
|
|
"example": "Gutenberg",
|
|
"default": "Gutenberg"
|
|
|
|
},
|
|
{
|
|
"name": "basicauthpass",
|
|
"type": "password",
|
|
"ask": {
|
|
"en": "Choose the password to access the OPDS/HTML server",
|
|
"fr": "Renseignez le mot de passe pour accéder au serveur OPDS/HTML"
|
|
},
|
|
"example": "knowledge is power",
|
|
"default": "knowledge is power"
|
|
}
|
|
|
|
]
|
|
}
|
|
}
|