1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/bookstack_ynh.git synced 2024-09-03 18:16:02 +02:00

Update manifest.toml (#171)

* Update manifest.toml

* Auto-update READMEs

* cleaning

---------

Co-authored-by: yunohost-bot <yunohost@yunohost.org>
This commit is contained in:
eric_G 2024-08-29 18:17:06 +02:00 committed by GitHub
parent b2d890e9c1
commit e297e0b336
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 142 additions and 48 deletions

View file

@ -5,4 +5,6 @@
- [Irakurri README euskaraz](README_eu.md)
- [Lire le README en français](README_fr.md)
- [Le o README en galego](README_gl.md)
- [Baca README dalam bahasa bahasa Indonesia](README_id.md)
- [Прочитать README на русский](README_ru.md)
- [阅读中文(简体)的 README](README_zh_Hans.md)

View file

@ -29,7 +29,7 @@ BookStack is an opinionated wiki system that provides a pleasant and simple out
- Diagrams.net Integration
**Shipped version:** 24.05.3~ynh1
**Shipped version:** 24.05.4~ynh1
**Demo:** <https://demo.bookstackapp.com>

View file

@ -29,7 +29,7 @@ BookStack is an opinionated wiki system that provides a pleasant and simple out
- Diagrams.net Integration
**Versión actual:** 24.05.3~ynh1
**Versión actual:** 24.05.4~ynh1
**Demo:** <https://demo.bookstackapp.com>

View file

@ -29,7 +29,7 @@ BookStack is an opinionated wiki system that provides a pleasant and simple out
- Diagrams.net Integration
**Paketatutako bertsioa:** 24.05.3~ynh1
**Paketatutako bertsioa:** 24.05.4~ynh1
**Demoa:** <https://demo.bookstackapp.com>

View file

@ -27,7 +27,7 @@ BookStack est un système wiki simple prête à l'emploi. Les nouveaux utilisate
- Multilingue
**Version incluse:** 24.05.3~ynh1
**Version incluse:** 24.05.4~ynh1
**Démo:** <https://demo.bookstackapp.com>

View file

@ -29,7 +29,7 @@ BookStack is an opinionated wiki system that provides a pleasant and simple out
- Diagrams.net Integration
**Versión proporcionada:** 24.05.3~ynh1
**Versión proporcionada:** 24.05.4~ynh1
**Demo:** <https://demo.bookstackapp.com>

61
README_id.md Normal file
View file

@ -0,0 +1,61 @@
<!--
N.B.: README ini dibuat secara otomatis oleh <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>
Ini TIDAK boleh diedit dengan tangan.
-->
# BookStack untuk YunoHost
[![Tingkat integrasi](https://dash.yunohost.org/integration/bookstack.svg)](https://ci-apps.yunohost.org/ci/apps/bookstack/) ![Status kerja](https://ci-apps.yunohost.org/ci/badges/bookstack.status.svg) ![Status pemeliharaan](https://ci-apps.yunohost.org/ci/badges/bookstack.maintain.svg)
[![Pasang BookStack dengan YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=bookstack)
*[Baca README ini dengan bahasa yang lain.](./ALL_README.md)*
> *Paket ini memperbolehkan Anda untuk memasang BookStack secara cepat dan mudah pada server YunoHost.*
> *Bila Anda tidak mempunyai YunoHost, silakan berkonsultasi dengan [panduan](https://yunohost.org/install) untuk mempelajari bagaimana untuk memasangnya.*
## Ringkasan
BookStack is an opinionated wiki system that provides a pleasant and simple out of the box experience. New users to an instance should find the experience intuitive and only basic word-processing skills should be required to get involved in creating content on BookStack. The platform should provide advanced power features to those that desire it but they should not interfere with the core simple user experience.
### Features
- Multi-Factor Authentication
- Dark & Light Modes
- LDAP Authentication
- Markdown Editor
- WYSIWYG Editing
- Multi-Lingual
- Diagrams.net Integration
**Versi terkirim:** 24.05.4~ynh1
**Demo:** <https://demo.bookstackapp.com>
## Tangkapan Layar
![Tangkapan Layar pada BookStack](./doc/screenshots/screenshot.png)
## Dokumentasi dan sumber daya
- Website aplikasi resmi: <https://www.bookstackapp.com>
- Dokumentasi pengguna resmi: <https://www.bookstackapp.com/docs/user/>
- Dokumentasi admin resmi: <https://www.bookstackapp.com/docs/admin/>
- Depot kode aplikasi hulu: <https://github.com/BookStackApp/BookStack>
- Gudang YunoHost: <https://apps.yunohost.org/app/bookstack>
- Laporkan bug: <https://github.com/YunoHost-Apps/bookstack_ynh/issues>
## Info developer
Silakan kirim pull request ke [`testing` branch](https://github.com/YunoHost-Apps/bookstack_ynh/tree/testing).
Untuk mencoba branch `testing`, silakan dilanjutkan seperti:
```bash
sudo yunohost app install https://github.com/YunoHost-Apps/bookstack_ynh/tree/testing --debug
atau
sudo yunohost app upgrade bookstack -u https://github.com/YunoHost-Apps/bookstack_ynh/tree/testing --debug
```
**Info lebih lanjut mengenai pemaketan aplikasi:** <https://yunohost.org/packaging_apps>

61
README_ru.md Normal file
View file

@ -0,0 +1,61 @@
<!--
Важно: этот README был автоматически сгенерирован <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>
Он НЕ ДОЛЖЕН редактироваться вручную.
-->
# BookStack для YunoHost
[![Уровень интеграции](https://dash.yunohost.org/integration/bookstack.svg)](https://ci-apps.yunohost.org/ci/apps/bookstack/) ![Состояние работы](https://ci-apps.yunohost.org/ci/badges/bookstack.status.svg) ![Состояние сопровождения](https://ci-apps.yunohost.org/ci/badges/bookstack.maintain.svg)
[![Установите BookStack с YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=bookstack)
*[Прочтите этот README на других языках.](./ALL_README.md)*
> *Этот пакет позволяет Вам установить BookStack быстро и просто на YunoHost-сервер.*
> *Если у Вас нет YunoHost, пожалуйста, посмотрите [инструкцию](https://yunohost.org/install), чтобы узнать, как установить его.*
## Обзор
BookStack is an opinionated wiki system that provides a pleasant and simple out of the box experience. New users to an instance should find the experience intuitive and only basic word-processing skills should be required to get involved in creating content on BookStack. The platform should provide advanced power features to those that desire it but they should not interfere with the core simple user experience.
### Features
- Multi-Factor Authentication
- Dark & Light Modes
- LDAP Authentication
- Markdown Editor
- WYSIWYG Editing
- Multi-Lingual
- Diagrams.net Integration
**Поставляемая версия:** 24.05.4~ynh1
**Демо-версия:** <https://demo.bookstackapp.com>
## Снимки экрана
![Снимок экрана BookStack](./doc/screenshots/screenshot.png)
## Документация и ресурсы
- Официальный веб-сайт приложения: <https://www.bookstackapp.com>
- Официальная документация пользователя: <https://www.bookstackapp.com/docs/user/>
- Официальная документация администратора: <https://www.bookstackapp.com/docs/admin/>
- Репозиторий кода главной ветки приложения: <https://github.com/BookStackApp/BookStack>
- Магазин YunoHost: <https://apps.yunohost.org/app/bookstack>
- Сообщите об ошибке: <https://github.com/YunoHost-Apps/bookstack_ynh/issues>
## Информация для разработчиков
Пришлите Ваш запрос на слияние в [ветку `testing`](https://github.com/YunoHost-Apps/bookstack_ynh/tree/testing).
Чтобы попробовать ветку `testing`, пожалуйста, сделайте что-то вроде этого:
```bash
sudo yunohost app install https://github.com/YunoHost-Apps/bookstack_ynh/tree/testing --debug
или
sudo yunohost app upgrade bookstack -u https://github.com/YunoHost-Apps/bookstack_ynh/tree/testing --debug
```
**Больше информации о пакетировании приложений:** <https://yunohost.org/packaging_apps>

View file

@ -29,7 +29,7 @@ BookStack is an opinionated wiki system that provides a pleasant and simple out
- Diagrams.net Integration
**分发版本:** 24.05.3~ynh1
**分发版本:** 24.05.4~ynh1
**演示:** <https://demo.bookstackapp.com>

View file

@ -5,7 +5,7 @@ name = "BookStack"
description.en = "Platform to create documentation/wiki content"
description.fr = "Plateforme pour créer du contenu de documentation/wiki"
version = "24.05.3~ynh1"
version = "24.05.4~ynh1"
maintainers = []
@ -18,7 +18,7 @@ userdoc = "https://www.bookstackapp.com/docs/user/"
code = "https://github.com/BookStackApp/BookStack"
[integration]
yunohost = ">= 11.2.12"
yunohost = ">= 11.2.29"
architectures = "all"
multi_instance = true
@ -59,8 +59,8 @@ ram.runtime = "50M"
[resources.sources]
[resources.sources.main]
url = "https://github.com/BookStackApp/BookStack/archive/refs/tags/v24.05.3.tar.gz"
sha256 = "8693dd21951caa165dd3e6b9feee5278b08e90ca8cc158201de17582de9b8e5f"
url = "https://github.com/BookStackApp/BookStack/archive/refs/tags/v24.05.4.tar.gz"
sha256 = "d40fc0ce94542eb92973cf7ab1c92247375d05af3d15099e899ea82089a9c6b3"
rename = "bookstack.tar.gz"
autoupdate.strategy = "latest_github_release"

View file

@ -17,18 +17,11 @@ timezone="$(cat /etc/timezone)"
redis_db=$(ynh_redis_get_free_db)
email=$(ynh_user_get_info --username=$admin --key=mail)
fpm_footprint="low"
fpm_free_footprint=0
fpm_usage="low"
#=================================================
# STORE SETTINGS FROM MANIFEST
#=================================================
ynh_app_setting_set --app=$app --key=redis_db --value=$redis_db
ynh_app_setting_set --app=$app --key=fpm_footprint --value=$fpm_footprint
ynh_app_setting_set --app=$app --key=fpm_free_footprint --value=$fpm_free_footprint
ynh_app_setting_set --app=$app --key=fpm_usage --value=$fpm_usage
#=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE
@ -40,10 +33,10 @@ ynh_setup_source --dest_dir="$install_dir"
#=================================================
# SYSTEM CONFIGURATION
#=================================================
ynh_script_progression --message="Adding system configurations related to $app ..." --weight=1
ynh_script_progression --message="Adding system configurations related to $app..." --weight=1
# Create a dedicated PHP-FPM config
ynh_add_fpm_config --usage=$fpm_usage --footprint=$fpm_footprint
ynh_add_fpm_config
# Create a dedicated NGINX config
ynh_add_nginx_config
@ -51,12 +44,12 @@ ynh_add_nginx_config
# Create a dedicated systemd config
ynh_add_systemd_config
yunohost service add $app --description="BookStack Queue Worker" --log="/var/log/$app/$app.log"
yunohost service add $app --description="Platform to create documentation/wiki content" --log="/var/log/$app/$app.log"
#=================================================
# INSTALL BOOKSTACK WITH COMPOSER
#=================================================
ynh_script_progression --message="Installing BookStack with Composer..." --weight=5
ynh_script_progression --message="Installing $app with Composer..." --weight=5
# Install composer
ynh_install_composer
@ -76,7 +69,7 @@ chown $app:$app $install_dir/.env
#=================================================
# FINAL BOOKSTACK INSTALL
#=================================================
ynh_script_progression --message="Install BookStack" --weight=5
ynh_script_progression --message="Install $app" --weight=5
pushd $install_dir
php$phpversion artisan key:generate --no-interaction --force

View file

@ -43,7 +43,7 @@ ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf"
ynh_restore_file --origin_path="/etc/systemd/system/$app.service"
systemctl enable $app.service --quiet
yunohost service add $app --description="BookStack Queue Worker" --log="/var/log/$app/$app.log"
yunohost service add $app --description="Platform to create documentation/wiki content" --log="/var/log/$app/$app.log"
#=================================================
# GENERIC FINALIZATION

View file

@ -9,29 +9,6 @@
source _common.sh
source /usr/share/yunohost/helpers
#=================================================
# ENSURE DOWNWARD COMPATIBILITY
#=================================================
ynh_script_progression --message="Ensuring downward compatibility..." --weight=1
# If fpm_footprint doesn't exist, create it
if [ -z "${fpm_footprint:-}" ]; then
fpm_footprint=low
ynh_app_setting_set --app=$app --key=fpm_footprint --value=$fpm_footprint
fi
# If fpm_free_footprint doesn't exist, create it
if [ -z "${fpm_free_footprint:-}" ]; then
fpm_free_footprint=0
ynh_app_setting_set --app=$app --key=fpm_free_footprint --value=$fpm_free_footprint
fi
# If fpm_usage doesn't exist, create it
if [ -z "${fpm_usage:-}" ]; then
fpm_usage=low
ynh_app_setting_set --app=$app --key=fpm_usage --value=$fpm_usage
fi
#=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE
#=================================================
@ -46,7 +23,7 @@ ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep=".env public/
ynh_script_progression --message="Upgrading system configurations related to $app..." --weight=1
# Create a dedicated PHP-FPM config
ynh_add_fpm_config --usage=$fpm_usage --footprint=$fpm_footprint
ynh_add_fpm_config
# Create a dedicated NGINX config
ynh_add_nginx_config
@ -54,7 +31,7 @@ ynh_add_nginx_config
# Create a dedicated systemd config
ynh_add_systemd_config
yunohost service add $app --description="BookStack Queue Worker" --log="/var/log/$app/$app.log"
yunohost service add $app --description="Platform to create documentation/wiki content" --log="/var/log/$app/$app.log"
#=================================================
# INSTALL LYCHEE WITH COMPOSER