mirror of
https://github.com/YunoHost-Apps/cops_ynh.git
synced 2024-09-03 18:25:57 +02:00
108 lines
4.1 KiB
JSON
108 lines
4.1 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 COPS library",
|
|
"fr": "Choisissez un domaine pour votre bibliotheque COPS"
|
|
},
|
|
"example": "domain.tld"
|
|
},
|
|
{
|
|
"name": "path",
|
|
"type": "path",
|
|
"ask": {
|
|
"en": "Choose a path to access your COPS library",
|
|
"fr": "Choisissez un chemin pour acceder a votre bibliotheque COPS"
|
|
},
|
|
"example": "/cops",
|
|
"default": "/cops"
|
|
},
|
|
{
|
|
"name": "admin",
|
|
"type": "user",
|
|
"ask": {
|
|
"en": "Choose the COPS administrator (must be an existing YunoHost user)",
|
|
"fr": "Choisissez l'administrateur de COPS (doit être un utilisateur YunoHost existant)"
|
|
},
|
|
"example": "homer"
|
|
{
|
|
"name": "calibre",
|
|
"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": "runninguser",
|
|
"ask": {
|
|
"en": "Which system user is managing the Calibre folder ?",
|
|
"fr": "Quel utilisateur système gère le dossier Calibre ?"
|
|
},
|
|
"choices": ["www-data", "owncloud", "nextcloud"],
|
|
"default": "www-data"
|
|
},
|
|
{
|
|
"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 que vous voulez accéder au serveur OPDS avec votre liseuse ou application mobile"
|
|
},
|
|
"choices": ["Yes", "No"],
|
|
"default": "Yes"
|
|
},
|
|
{
|
|
"name": "basicauthname",
|
|
"ask": {
|
|
"en": "Choose the login name 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é lié aux utilisateurs YunoHost)"
|
|
},
|
|
"example": "Gutenberg",
|
|
"default": "Gutenberg"
|
|
},
|
|
{
|
|
"name": "basicauthpass",
|
|
"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"
|
|
}
|
|
]
|
|
}
|
|
}
|