mirror of
https://github.com/YunoHost-Apps/komga_ynh.git
synced 2024-09-03 19:36:07 +02:00
Revert "Testing"
This commit is contained in:
parent
31a22e305d
commit
0306e7e62e
14 changed files with 59 additions and 235 deletions
|
@ -1,8 +1,6 @@
|
|||
# All available README files by language
|
||||
|
||||
- [Read the README in English](README.md)
|
||||
- [Lea el README en español](README_es.md)
|
||||
- [Irakurri README euskaraz](README_eu.md)
|
||||
- [Lire le README en français](README_fr.md)
|
||||
- [Le o README en galego](README_gl.md)
|
||||
- [阅读中文(简体)的 README](README_zh_Hans.md)
|
||||
- [Leggi il “README” in italiano](README_it.md)
|
||||
|
|
|
@ -9,7 +9,7 @@ It shall NOT be edited by hand.
|
|||
|
||||
[](https://install-app.yunohost.org/?app=komga)
|
||||
|
||||
*[Read this README in other languages.](./ALL_README.md)*
|
||||
*[Read this README is other languages.](./ALL_README.md)*
|
||||
|
||||
> *This package allows you to install Komga quickly and simply on a YunoHost server.*
|
||||
> *If you don't have YunoHost, please consult [the guide](https://yunohost.org/install) to learn how to install it.*
|
||||
|
@ -30,7 +30,7 @@ Komga is a free and open source comics/mangas server.
|
|||
- Download book files
|
||||
|
||||
|
||||
**Shipped version:** 1.11.1~ynh1
|
||||
**Shipped version:** 1.10.3~ynh1
|
||||
|
||||
**Demo:** <https://demo.komga.org>
|
||||
|
||||
|
|
61
README_es.md
61
README_es.md
|
@ -1,61 +0,0 @@
|
|||
<!--
|
||||
Este archivo README esta generado automaticamente<https://github.com/YunoHost/apps/tree/master/tools/readme_generator>
|
||||
No se debe editar a mano.
|
||||
-->
|
||||
|
||||
# Komga para Yunohost
|
||||
|
||||
[](https://dash.yunohost.org/appci/app/komga)  
|
||||
|
||||
[](https://install-app.yunohost.org/?app=komga)
|
||||
|
||||
*[Leer este README en otros idiomas.](./ALL_README.md)*
|
||||
|
||||
> *Este paquete le permite instalarKomga rapidamente y simplement en un servidor YunoHost.*
|
||||
> *Si no tiene YunoHost, visita [the guide](https://yunohost.org/install) para aprender como instalarla.*
|
||||
|
||||
## Descripción general
|
||||
|
||||
Komga is a free and open source comics/mangas server.
|
||||
|
||||
### Features
|
||||
|
||||
- Browse libraries, series and books via a responsive web UI that works on desktop, tablets and phones
|
||||
- Organize your library with collections and read lists
|
||||
- Edit metadata for your series and books
|
||||
- Import embedded metadata automatically
|
||||
- Webreader with multiple reading modes
|
||||
- Manage multiple users, with per-library access control
|
||||
- Offers a REST API, many community tools and scripts can interact with Komga
|
||||
- Download book files
|
||||
|
||||
|
||||
**Versión actual:** 1.11.1~ynh1
|
||||
|
||||
**Demo:** <https://demo.komga.org>
|
||||
|
||||
## Capturas
|
||||
|
||||

|
||||
|
||||
## Documentaciones y recursos
|
||||
|
||||
- Sitio web oficial: <https://komga.org>
|
||||
- Documentación administrador oficial: <https://komga.org/guides/>
|
||||
- Repositorio del código fuente oficial de la aplicación : <https://github.com/gotson/komga>
|
||||
- Catálogo YunoHost: <https://apps.yunohost.org/app/komga>
|
||||
- Reportar un error: <https://github.com/YunoHost-Apps/komga_ynh/issues>
|
||||
|
||||
## Información para desarrolladores
|
||||
|
||||
Por favor enviar sus correcciones a la [`branch testing`](https://github.com/YunoHost-Apps/komga_ynh/tree/testing
|
||||
|
||||
Para probar la rama `testing`, sigue asÍ:
|
||||
|
||||
```bash
|
||||
sudo yunohost app install https://github.com/YunoHost-Apps/komga_ynh/tree/testing --debug
|
||||
o
|
||||
sudo yunohost app upgrade komga -u https://github.com/YunoHost-Apps/komga_ynh/tree/testing --debug
|
||||
```
|
||||
|
||||
**Mas informaciones sobre el empaquetado de aplicaciones:** <https://yunohost.org/packaging_apps>
|
61
README_eu.md
61
README_eu.md
|
@ -1,61 +0,0 @@
|
|||
<!--
|
||||
Ohart ongi: README hau automatikoki sortu da <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>ri esker
|
||||
EZ editatu eskuz.
|
||||
-->
|
||||
|
||||
# Komga YunoHost-erako
|
||||
|
||||
[](https://dash.yunohost.org/appci/app/komga)  
|
||||
|
||||
[](https://install-app.yunohost.org/?app=komga)
|
||||
|
||||
*[Irakurri README hau beste hizkuntzatan.](./ALL_README.md)*
|
||||
|
||||
> *Pakete honek Komga YunoHost zerbitzari batean azkar eta zailtasunik gabe instalatzea ahalbidetzen dizu.*
|
||||
> *YunoHost ez baduzu, kontsultatu [gida](https://yunohost.org/install) nola instalatu ikasteko.*
|
||||
|
||||
## Aurreikuspena
|
||||
|
||||
Komga is a free and open source comics/mangas server.
|
||||
|
||||
### Features
|
||||
|
||||
- Browse libraries, series and books via a responsive web UI that works on desktop, tablets and phones
|
||||
- Organize your library with collections and read lists
|
||||
- Edit metadata for your series and books
|
||||
- Import embedded metadata automatically
|
||||
- Webreader with multiple reading modes
|
||||
- Manage multiple users, with per-library access control
|
||||
- Offers a REST API, many community tools and scripts can interact with Komga
|
||||
- Download book files
|
||||
|
||||
|
||||
**Paketatutako bertsioa:** 1.11.1~ynh1
|
||||
|
||||
**Demoa:** <https://demo.komga.org>
|
||||
|
||||
## Pantaila-argazkiak
|
||||
|
||||

|
||||
|
||||
## Dokumentazioa eta baliabideak
|
||||
|
||||
- Aplikazioaren webgune ofiziala: <https://komga.org>
|
||||
- Administratzaileen dokumentazio ofiziala: <https://komga.org/guides/>
|
||||
- Jatorrizko aplikazioaren kode-gordailua: <https://github.com/gotson/komga>
|
||||
- YunoHost Denda: <https://apps.yunohost.org/app/komga>
|
||||
- Eman errore baten berri: <https://github.com/YunoHost-Apps/komga_ynh/issues>
|
||||
|
||||
## Garatzaileentzako informazioa
|
||||
|
||||
Bidali `pull request`a [`testing` abarrera](https://github.com/YunoHost-Apps/komga_ynh/tree/testing).
|
||||
|
||||
`testing` abarra probatzeko, ondorengoa egin:
|
||||
|
||||
```bash
|
||||
sudo yunohost app install https://github.com/YunoHost-Apps/komga_ynh/tree/testing --debug
|
||||
edo
|
||||
sudo yunohost app upgrade komga -u https://github.com/YunoHost-Apps/komga_ynh/tree/testing --debug
|
||||
```
|
||||
|
||||
**Informazio gehiago aplikazioaren paketatzeari buruz:** <https://yunohost.org/packaging_apps>
|
|
@ -29,7 +29,7 @@ Komga est un serveur de bandes dessinées/mangas gratuit et open source.
|
|||
- Propose une API REST, de nombreux outils et scripts communautaires peuvent interagir avec Komga
|
||||
- Télécharger des fichiers de livres
|
||||
|
||||
**Version incluse :** 1.11.1~ynh1
|
||||
**Version incluse :** 1.10.3~ynh1
|
||||
|
||||
**Démo :** <https://demo.komga.org>
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ Komga is a free and open source comics/mangas server.
|
|||
- Download book files
|
||||
|
||||
|
||||
**Versión proporcionada:** 1.11.1~ynh1
|
||||
**Versión proporcionada:** 1.10.3~ynh1
|
||||
|
||||
**Demo:** <https://demo.komga.org>
|
||||
|
||||
|
|
|
@ -1,61 +0,0 @@
|
|||
<!--
|
||||
注意:此 README 由 <https://github.com/YunoHost/apps/tree/master/tools/readme_generator> 自动生成
|
||||
请勿手动编辑。
|
||||
-->
|
||||
|
||||
# YunoHost 上的 Komga
|
||||
|
||||
[](https://dash.yunohost.org/appci/app/komga)  
|
||||
|
||||
[](https://install-app.yunohost.org/?app=komga)
|
||||
|
||||
*[阅读此 README 的其它语言版本。](./ALL_README.md)*
|
||||
|
||||
> *通过此软件包,您可以在 YunoHost 服务器上快速、简单地安装 Komga。*
|
||||
> *如果您还没有 YunoHost,请参阅[指南](https://yunohost.org/install)了解如何安装它。*
|
||||
|
||||
## 概况
|
||||
|
||||
Komga is a free and open source comics/mangas server.
|
||||
|
||||
### Features
|
||||
|
||||
- Browse libraries, series and books via a responsive web UI that works on desktop, tablets and phones
|
||||
- Organize your library with collections and read lists
|
||||
- Edit metadata for your series and books
|
||||
- Import embedded metadata automatically
|
||||
- Webreader with multiple reading modes
|
||||
- Manage multiple users, with per-library access control
|
||||
- Offers a REST API, many community tools and scripts can interact with Komga
|
||||
- Download book files
|
||||
|
||||
|
||||
**分发版本:** 1.11.1~ynh1
|
||||
|
||||
**演示:** <https://demo.komga.org>
|
||||
|
||||
## 截图
|
||||
|
||||

|
||||
|
||||
## 文档与资源
|
||||
|
||||
- 官方应用网站: <https://komga.org>
|
||||
- 官方管理文档: <https://komga.org/guides/>
|
||||
- 上游应用代码库: <https://github.com/gotson/komga>
|
||||
- YunoHost 商店: <https://apps.yunohost.org/app/komga>
|
||||
- 报告 bug: <https://github.com/YunoHost-Apps/komga_ynh/issues>
|
||||
|
||||
## 开发者信息
|
||||
|
||||
请向 [`testing` 分支](https://github.com/YunoHost-Apps/komga_ynh/tree/testing) 发送拉取请求。
|
||||
|
||||
如要尝试 `testing` 分支,请这样操作:
|
||||
|
||||
```bash
|
||||
sudo yunohost app install https://github.com/YunoHost-Apps/komga_ynh/tree/testing --debug
|
||||
或
|
||||
sudo yunohost app upgrade komga -u https://github.com/YunoHost-Apps/komga_ynh/tree/testing --debug
|
||||
```
|
||||
|
||||
**有关应用打包的更多信息:** <https://yunohost.org/packaging_apps>
|
25
check_process
Normal file
25
check_process
Normal file
|
@ -0,0 +1,25 @@
|
|||
;; Test complet
|
||||
; Manifest
|
||||
domain="domain.tld"
|
||||
path="/path"
|
||||
is_public=1
|
||||
port="8080"
|
||||
; Checks
|
||||
pkg_linter=1
|
||||
setup_sub_dir=1
|
||||
setup_root=1
|
||||
setup_nourl=0
|
||||
setup_private=1
|
||||
setup_public=1
|
||||
upgrade=1
|
||||
backup_restore=1
|
||||
multi_instance=1
|
||||
change_url=1
|
||||
;;; Options
|
||||
Email=
|
||||
Notification=none
|
||||
;;; Upgrade options
|
||||
; commit=
|
||||
name=
|
||||
manifest_arg=domain=DOMAIN&path=PATH&is_public=1&port=8080&
|
||||
|
|
@ -1,16 +1,26 @@
|
|||
# Only keep lines that are relevant to you!
|
||||
# Lines starting with # are comments
|
||||
# Make sure indentation is correct (2 spaces at every indentation level), yaml is very sensitive!
|
||||
komga:
|
||||
config-dir: __DATA_DIR__/
|
||||
libraries-scan-cron: "* */15 * * * ?" #periodic scan every 15 minutes
|
||||
libraries-scan-cron: "-" #disable periodic scan
|
||||
libraries-scan-startup: false #scan libraries at startup
|
||||
libraries-scan-directory-exclusions: #patterns to exclude directories from the scan
|
||||
- "#recycle" #synology NAS recycle bin
|
||||
- "@eaDir" #synology NAS index/metadata folders
|
||||
remember-me:
|
||||
key: changeMe! #required to activate the remember-me auto-login via cookies
|
||||
validity: 2592000 #validity of the cookie in seconds, here 1 month
|
||||
database:
|
||||
file: __DATA_DIR__/database.sqlite
|
||||
cors.allowed-origins:
|
||||
- http://127.0.0.1:__PORT__
|
||||
delete-empty-collections: true
|
||||
delete-empty-read-lists: true
|
||||
file: __DATA_DIR__/.komga/database.sqlite
|
||||
database-backup:
|
||||
path: ~/.komga/database-backup.zip
|
||||
schedule: "0 0 */6 * * ?" #every 6 hours
|
||||
enabled: true
|
||||
startup: true
|
||||
server:
|
||||
port: __PORT__
|
||||
servlet:
|
||||
session.timeout: 7d # session timeout, here 7 days
|
||||
context-path: __PATH__/
|
||||
servlet.context-path: __PATH__/
|
||||
spring:
|
||||
datasource:
|
||||
url: jdbc:h2:/path/to/your/database.h2 #absolute path for Unix
|
||||
url: jdbc:h2:D:\\komga\database.h2 #absolute path for Windows
|
||||
url: jdbc:h2:~/.komga/database.h2 #relative path to user home directory
|
||||
url: jdbc:h2:./komga/database.h2 #relative path to current directory
|
||||
|
|
|
@ -7,7 +7,7 @@ Type=simple
|
|||
User=__APP__
|
||||
Group=__APP__
|
||||
WorkingDirectory=__INSTALL_DIR__/
|
||||
ExecStart=/usr/bin/java -jar -Xmx1g komga.jar --server.port=__PORT__ --server.servlet.context-path="__PATH__/" --komga.config-dir="__DATA_DIR__/"
|
||||
ExecStart=/usr/bin/java -jar -Xmx1g komga.jar --server.port=__PORT__ --server.servlet.context-path="__PATH__"
|
||||
Restart=on-failure
|
||||
RestartSec=10
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ name = "Komga"
|
|||
description.en = "Media server for your comics, manga and magazines"
|
||||
description.fr = "Serveur multimédia pour vos bandes dessinées, mangas et magazines"
|
||||
|
||||
version = "1.11.1~ynh1"
|
||||
version = "1.10.3~ynh1"
|
||||
|
||||
maintainers = ["Navan Chauhan"]
|
||||
|
||||
|
@ -43,8 +43,8 @@ ram.runtime = "50M"
|
|||
|
||||
[resources]
|
||||
[resources.sources.main]
|
||||
url = "https://github.com/gotson/komga/releases/download/1.11.1/komga-1.11.1.jar"
|
||||
sha256 = "2fa7dd47c8fad31d982f94b983a4c73752cbf9dcba9331e28e3351e3b2aeca5a"
|
||||
url = "https://github.com/gotson/komga/releases/download/1.10.3/komga-1.10.3.jar"
|
||||
sha256 = "b7f9f0a8456bb017842c92cbb62cc323bdfb56738346cb8f7d09670d405fa0a7"
|
||||
extract = false
|
||||
rename = "komga.jar"
|
||||
|
||||
|
@ -55,16 +55,10 @@ ram.runtime = "50M"
|
|||
[resources.install_dir]
|
||||
|
||||
[resources.data_dir]
|
||||
subdirs = [".komga"]
|
||||
|
||||
[resources.permissions]
|
||||
main.url = "/"
|
||||
|
||||
[resources.apt]
|
||||
|
||||
packages_from_raw_bash = """
|
||||
if [[ $YNH_DEBIAN_VERSION == "bullseye" ]]; then
|
||||
echo "openjdk-11-jre";
|
||||
elif [[ $YNH_DEBIAN_VERSION == "bookworm" ]]; then
|
||||
echo "openjdk-17-jre";
|
||||
fi
|
||||
"""
|
||||
packages = "openjdk-17-jre-headless"
|
||||
|
|
|
@ -16,7 +16,7 @@ source /usr/share/yunohost/helpers
|
|||
#=================================================
|
||||
ynh_script_progression --message="Stopping a systemd service..." --weight=1
|
||||
|
||||
ynh_systemd_action --service_name=$app --action="stop" --log_path="systemd"
|
||||
ynh_systemd_action --service_name=$app --action="stop" --log_path="/var/log/$app/$app.log"
|
||||
|
||||
#=================================================
|
||||
# MODIFY URL IN NGINX CONF
|
||||
|
|
|
@ -19,16 +19,6 @@ ynh_setup_source --dest_dir="$install_dir"
|
|||
chown -R $app:www-data "$install_dir"
|
||||
chmod +x $install_dir/komga.jar
|
||||
|
||||
#=================================================
|
||||
# APP INITIAL CONFIGURATION
|
||||
#=================================================
|
||||
ynh_script_progression --message="Adding $app's configuration files..." --weight=1
|
||||
|
||||
ynh_add_config --template="application.yml" --destination="$data_dir/application.yml"
|
||||
|
||||
chmod 400 "$data_dir/application.yml"
|
||||
chown "$app:$app" "$data_dir/application.yml"
|
||||
|
||||
#=================================================
|
||||
# SYSTEM CONFIGURATION
|
||||
#=================================================
|
||||
|
|
|
@ -28,16 +28,6 @@ ynh_setup_source --dest_dir="$install_dir"
|
|||
chown -R $app:www-data "$install_dir"
|
||||
chmod +x $install_dir/komga.jar
|
||||
|
||||
#=================================================
|
||||
# UPDATE A CONFIG FILE
|
||||
#=================================================
|
||||
ynh_script_progression --message="Updating $app's configuration files..." --weight=1
|
||||
|
||||
ynh_add_config --template="application.yml" --destination="$data_dir/application.yml"
|
||||
|
||||
chmod 400 "$data_dir/application.yml"
|
||||
chown "$app:$app" "$data_dir/application.yml"
|
||||
|
||||
#=================================================
|
||||
# REAPPLY SYSTEM CONFIGURATIONS
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue