1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mastodon_ynh.git synced 2024-09-03 19:46:02 +02:00

Merge pull request #460 from YunoHost-Apps/orhtej2-patch-1

Add redis_namespace to upgrade
This commit is contained in:
Mateusz 2024-07-29 22:41:59 +00:00 committed by GitHub
commit d7e26636fe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 57 additions and 0 deletions

View file

@ -5,4 +5,5 @@
- [Irakurri README euskaraz](README_eu.md) - [Irakurri README euskaraz](README_eu.md)
- [Lire le README en français](README_fr.md) - [Lire le README en français](README_fr.md)
- [Le o README en galego](README_gl.md) - [Le o README en galego](README_gl.md)
- [Baca README dalam bahasa bahasa Indonesia](README_id.md)
- [阅读中文(简体)的 README](README_zh_Hans.md) - [阅读中文(简体)的 README](README_zh_Hans.md)

51
README_id.md Normal file
View file

@ -0,0 +1,51 @@
<!--
N.B.: README ini dibuat secara otomatis oleh <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>
Ini TIDAK boleh diedit dengan tangan.
-->
# Mastodon untuk YunoHost
[![Tingkat integrasi](https://dash.yunohost.org/integration/mastodon.svg)](https://ci-apps.yunohost.org/ci/apps/mastodon/) ![Status kerja](https://ci-apps.yunohost.org/ci/badges/mastodon.status.svg) ![Status pemeliharaan](https://ci-apps.yunohost.org/ci/badges/mastodon.maintain.svg)
[![Pasang Mastodon dengan YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=mastodon)
*[Baca README ini dengan bahasa yang lain.](./ALL_README.md)*
> *Paket ini memperbolehkan Anda untuk memasang Mastodon 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
Mastodon is a free, open-source microblogging social network.
It is a decentralized alternative to commercial platforms like Twitter and avoids the risks of a single company monopolizing your communication for commercial purposes.
**Versi terkirim:** 4.2.10~ynh1
**Demo:** <https://joinmastodon.org/>
## Tangkapan Layar
![Tangkapan Layar pada Mastodon](./doc/screenshots/mastodon.png)
## Dokumentasi dan sumber daya
- Website aplikasi resmi: <https://joinmastodon.org/>
- Dokumentasi admin resmi: <https://docs.joinmastodon.org/>
- Depot kode aplikasi hulu: <https://github.com/mastodon/mastodon>
- Gudang YunoHost: <https://apps.yunohost.org/app/mastodon>
- Laporkan bug: <https://github.com/YunoHost-Apps/mastodon_ynh/issues>
## Info developer
Silakan kirim pull request ke [`testing` branch](https://github.com/YunoHost-Apps/mastodon_ynh/tree/testing).
Untuk mencoba branch `testing`, silakan dilanjutkan seperti:
```bash
sudo yunohost app install https://github.com/YunoHost-Apps/mastodon_ynh/tree/testing --debug
atau
sudo yunohost app upgrade mastodon -u https://github.com/YunoHost-Apps/mastodon_ynh/tree/testing --debug
```
**Info lebih lanjut mengenai pemaketan aplikasi:** <https://yunohost.org/packaging_apps>

View file

@ -39,6 +39,11 @@ if [[ -z "${service:-}" ]]; then
service="$app-web.service" service="$app-web.service"
ynh_app_setting_set --app="$app" --key=service --value="$service" ynh_app_setting_set --app="$app" --key=service --value="$service"
fi fi
# Set `redis_namespace` settings
if [[ -z "${redis_namespace:-}" ]]; then
redis_namespace=${app}_production
ynh_app_setting_set --app="$app" --key=redis_namespace --value="$redis_namespace"
fi
# Remove previous added repository # Remove previous added repository
ynh_remove_extra_repo ynh_remove_extra_repo