mirror of
https://github.com/YunoHost-Apps/wallabag2_ynh.git
synced 2024-10-01 13:35:06 +02:00
Merge branch 'testing' into pr/214
This commit is contained in:
commit
c73bbe2bc1
4 changed files with 55 additions and 8 deletions
|
@ -6,4 +6,5 @@
|
|||
- [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)
|
||||
|
|
53
README_ru.md
Normal file
53
README_ru.md
Normal file
|
@ -0,0 +1,53 @@
|
|||
<!--
|
||||
Важно: этот README был автоматически сгенерирован <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>
|
||||
Он НЕ ДОЛЖЕН редактироваться вручную.
|
||||
-->
|
||||
|
||||
# Wallabag для YunoHost
|
||||
|
||||
[](https://ci-apps.yunohost.org/ci/apps/wallabag2/)  
|
||||
|
||||
[](https://install-app.yunohost.org/?app=wallabag2)
|
||||
|
||||
*[Прочтите этот README на других языках.](./ALL_README.md)*
|
||||
|
||||
> *Этот пакет позволяет Вам установить Wallabag быстро и просто на YunoHost-сервер.*
|
||||
> *Если у Вас нет YunoHost, пожалуйста, посмотрите [инструкцию](https://yunohost.org/install), чтобы узнать, как установить его.*
|
||||
|
||||
## Обзор
|
||||
|
||||
Wallabag is a self hostable Read-It-Later application allowing you to not miss any content anymore. Click, save, read it when you can.
|
||||
It provides a web interface, browser (Firefox/Chrome/Opera) add-ons, mobile apps (Android/iOS/Windows Phone) and even on e-reader (PocketBook/Kobo).
|
||||
|
||||
Upgrade from the YunoHost [Wallabag v1](https://github.com/YunoHost-Apps/wallabag_ynh) app requires a manual operation. That's why it's provided as a new package. For the migration process, please refer to the [Wallabag official documentation](https://doc.wallabag.org/en/user/import/wallabagv1.html).
|
||||
|
||||
|
||||
**Поставляемая версия:** 2.5.4~ynh4
|
||||
|
||||
**Демо-версия:** <https://demo.yunohost.org/wallabag/>
|
||||
|
||||
## Снимки экрана
|
||||
|
||||

|
||||
|
||||
## Документация и ресурсы
|
||||
|
||||
- Официальный веб-сайт приложения: <https://www.wallabag.org>
|
||||
- Официальная документация администратора: <https://doc.wallabag.org/en/>
|
||||
- Репозиторий кода главной ветки приложения: <https://github.com/wallabag/wallabag>
|
||||
- Магазин YunoHost: <https://apps.yunohost.org/app/wallabag2>
|
||||
- Сообщите об ошибке: <https://github.com/YunoHost-Apps/wallabag2_ynh/issues>
|
||||
|
||||
## Информация для разработчиков
|
||||
|
||||
Пришлите Ваш запрос на слияние в [ветку `testing`](https://github.com/YunoHost-Apps/wallabag2_ynh/tree/testing).
|
||||
|
||||
Чтобы попробовать ветку `testing`, пожалуйста, сделайте что-то вроде этого:
|
||||
|
||||
```bash
|
||||
sudo yunohost app install https://github.com/YunoHost-Apps/wallabag2_ynh/tree/testing --debug
|
||||
или
|
||||
sudo yunohost app upgrade wallabag2 -u https://github.com/YunoHost-Apps/wallabag2_ynh/tree/testing --debug
|
||||
```
|
||||
|
||||
**Больше информации о пакетировании приложений:** <https://yunohost.org/packaging_apps>
|
|
@ -23,12 +23,11 @@ ynh_script_progression "Setting up source files..."
|
|||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
ynh_setup_source --dest_dir="$install_dir"
|
||||
|
||||
# Create log dir/file FIXME: is it useless?
|
||||
# Create log dir/file is it useless?
|
||||
mkdir -p "$install_dir/var/logs/"
|
||||
touch "$install_dir/var/logs/prod.log"
|
||||
|
||||
# Set permissions to app files
|
||||
#REMOVEME? Assuming the install dir is setup using ynh_setup_source, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chown -R "$app:www-data" "$install_dir"
|
||||
# Restrict rights to Wallabag user only
|
||||
if [ -e "$install_dir/var/cache/prod/appProdProjectContainer.php" ]; then
|
||||
chmod 700 "$install_dir/var/cache/prod/appProdProjectContainer.php"
|
||||
|
@ -41,9 +40,6 @@ ynh_script_progression "Adding $app's configuration files..."
|
|||
|
||||
ynh_config_add --template="parameters.yml" --destination="$install_dir/app/config/parameters.yml"
|
||||
|
||||
#REMOVEME? Assuming the file is setup using ynh_config_add, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chmod 600 "$install_dir/app/config/parameters.yml"
|
||||
#REMOVEME? Assuming the file is setup using ynh_config_add, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chown "$app:$app" "$install_dir/app/config/parameters.yml"
|
||||
|
||||
# Install dependencies and Wallabag
|
||||
php_exec wallabag:install
|
||||
|
||||
|
@ -62,8 +58,6 @@ php_exec fos:user:promote --super "$admin"
|
|||
ynh_mysql_db_shell \
|
||||
<<< "UPDATE internal_setting SET value = 'https://$domain$path' WHERE name = 'wallabag_url'"
|
||||
|
||||
# Set permissions to app files
|
||||
#REMOVEME? Assuming the install dir is setup using ynh_setup_source, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chown -R "$app:www-data" "$install_dir"
|
||||
#=================================================
|
||||
# SETUP HOOKS
|
||||
#=================================================
|
||||
|
|
|
@ -20,7 +20,6 @@ mkdir -p "$install_dir/var/logs/"
|
|||
touch "$install_dir/var/logs/prod.log"
|
||||
|
||||
# Set permissions to app files
|
||||
#REMOVEME? Assuming the install dir is setup using ynh_setup_source, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chown -R "$app:www-data" "$install_dir"
|
||||
# Restrict rights to Wallabag user only
|
||||
if [ -e "$install_dir/var/cache/prod/appProdProjectContainer.php" ]; then
|
||||
chmod 700 "$install_dir/var/cache/prod/appProdProjectContainer.php"
|
||||
|
|
Loading…
Add table
Reference in a new issue