mirror of
https://github.com/YunoHost-Apps/mastodon_ynh.git
synced 2024-09-03 19:46:02 +02:00
92 lines
3.5 KiB
Markdown
92 lines
3.5 KiB
Markdown
<!--
|
|
NOTA: Este README foi creado automáticamente por <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>
|
|
NON debe editarse manualmente.
|
|
-->
|
|
|
|
# Mastodon para YunoHost
|
|
|
|
[![Nivel de integración](https://dash.yunohost.org/integration/mastodon.svg)](https://dash.yunohost.org/appci/app/mastodon) ![Estado de funcionamento](https://ci-apps.yunohost.org/ci/badges/mastodon.status.svg) ![Estado de mantemento](https://ci-apps.yunohost.org/ci/badges/mastodon.maintain.svg)
|
|
|
|
[![Instalar Mastodon con YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=mastodon)
|
|
|
|
*[Le este README en outros idiomas.](./ALL_README.md)*
|
|
|
|
> *Este paquete permíteche instalar Mastodon de xeito rápido e doado nun servidor YunoHost.*
|
|
> *Se non usas YunoHost, le a [documentación](https://yunohost.org/install) para saber como instalalo.*
|
|
|
|
## Vista xeral
|
|
|
|
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ón proporcionada:** 4.2.8~ynh1
|
|
|
|
**Demo:** <https://joinmastodon.org/>
|
|
|
|
## Capturas de pantalla
|
|
|
|
![Captura de pantalla de Mastodon](./doc/screenshots/mastodon.png)
|
|
|
|
## Avisos / información importante
|
|
|
|
## Important points to read before installing
|
|
|
|
1. **Mastodon** require a dedicated **root domain**, eg. mastodon.domain.tld
|
|
1. The user choosen during the installation is automatically created in Mastodon with admin rights
|
|
1. At the end of the installation a mail is sent to the user with the automatically generated password
|
|
1. It seems important to close the inscriptions for your Mastodon, so that it remains a private body. We invite you to block remote malicious instances from the administration interface. You can also add text on your home page.
|
|
|
|
## Configuration
|
|
|
|
### Install
|
|
|
|
#### Using *screen* in case of disconnect
|
|
```
|
|
$ sudo apt-get install screen
|
|
$ screen
|
|
$ sudo yunohost app install https://github.com/YunoHost-Apps/mastodon_ynh.git
|
|
```
|
|
Recover after disconnect:
|
|
```
|
|
$ screen -d
|
|
$ screen -r
|
|
```
|
|
|
|
### Update
|
|
|
|
#### Using *screen* highly recommended
|
|
|
|
`$ sudo yunohost app upgrade mastodon -u https://github.com/YunoHost-Apps/mastodon_ynh --debug `
|
|
|
|
### Administrate with tootctl
|
|
|
|
`$ (cd /var/www/mastodon/live && sudo -u mastodon RAILS_ENV=production PATH=/opt/rbenv/versions/mastodon/bin bin/tootctl --help)`
|
|
|
|
## YunoHost specific features
|
|
|
|
#### Multi-users support
|
|
|
|
LDAP authentication is activated. All YunoHost users can authenticate.
|
|
|
|
Log-out from YunoHost's portal doesn't log out from Mastodon. See https://github.com/YunoHost/issues/issues/501
|
|
|
|
## Documentación e recursos
|
|
|
|
- Web oficial da app: <https://joinmastodon.org/>
|
|
- Documentación oficial para admin: <https://docs.joinmastodon.org/>
|
|
- Repositorio de orixe do código: <https://github.com/mastodon/mastodon>
|
|
- Tenda YunoHost: <https://apps.yunohost.org/app/mastodon>
|
|
- Informar dun problema: <https://github.com/YunoHost-Apps/mastodon_ynh/issues>
|
|
|
|
## Info de desenvolvemento
|
|
|
|
Envía a túa colaboración á [rama `testing`](https://github.com/YunoHost-Apps/mastodon_ynh/tree/testing).
|
|
|
|
Para probar a rama `testing`, procede deste xeito:
|
|
|
|
```bash
|
|
sudo yunohost app install https://github.com/YunoHost-Apps/mastodon_ynh/tree/testing --debug
|
|
ou
|
|
sudo yunohost app upgrade mastodon -u https://github.com/YunoHost-Apps/mastodon_ynh/tree/testing --debug
|
|
```
|
|
|
|
**Máis info sobre o empaquetado da app:** <https://yunohost.org/packaging_apps>
|