2021-12-08 11:14:56 +01:00
<!--
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/README-generator
It shall NOT be edited by hand.
-->
2017-04-08 04:04:27 +02:00
# Mastodon for YunoHost
2021-02-17 19:22:07 +01:00
[![Integration level ](https://dash.yunohost.org/integration/mastodon.svg )](https://dash.yunohost.org/appci/app/mastodon) ![](https://ci-apps.yunohost.org/ci/badges/mastodon.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/mastodon.maintain.svg)
2021-01-09 16:21:48 +01:00
[![Install Mastodon with YunoHost ](https://install-app.yunohost.org/install-with-yunohost.svg )](https://install-app.yunohost.org/?app=mastodon)
2019-03-18 04:22:38 +01:00
2019-05-30 10:37:28 +02:00
*[Lire ce readme en français.](./README_fr.md)*
2019-03-18 04:22:38 +01:00
2021-12-08 11:14:56 +01:00
> *This package allows you to install Mastodon quickly and simply on a YunoHost server.
2021-02-17 19:22:07 +01:00
If you don't have YunoHost, please consult [the guide ](https://yunohost.org/#/install ) to learn how to install it.*
2019-03-18 04:22:38 +01:00
## Overview
2021-12-08 11:14:56 +01:00
2020-06-10 09:44:17 +02:00
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.
2017-04-08 04:04:27 +02:00
2022-05-04 08:25:10 +02:00
**Shipped version:** 3.5.2~ynh1
2021-12-08 11:14:56 +01:00
**Demo:** https://joinmastodon.org/
## Screenshots
![](./doc/screenshots/mastodon.png)
## Disclaimers / important information
2017-04-16 16:33:17 +02:00
2019-07-14 18:43:25 +02:00
## 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.
2019-03-18 04:22:38 +01:00
## Configuration
2017-04-16 16:08:42 +02:00
2019-07-14 18:17:03 +02:00
### Install
2020-06-10 09:44:17 +02:00
#### Using *screen* in case of disconnect
2017-06-07 20:42:42 +02:00
```
$ 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
```
2017-05-07 22:23:01 +02:00
2017-04-08 04:04:27 +02:00
### Update
2019-07-14 18:17:03 +02:00
2020-06-10 09:44:17 +02:00
#### Using *screen* highly recommended
2017-04-08 04:04:27 +02:00
2019-06-13 21:09:36 +02:00
`$ sudo yunohost app upgrade mastodon -u https://github.com/YunoHost-Apps/mastodon_ynh --debug `
2017-04-16 16:08:42 +02:00
2021-05-01 14:32:17 +02:00
### Administrate with tooctl
`$ (cd /var/www/mastodon/live && sudo -u mastodon RAILS_ENV=production PATH=/opt/rbenv/versions/mastodon/bin bin/tootctl --help)`
2019-03-18 04:22:38 +01:00
## YunoHost specific features
2019-08-04 00:50:29 +02:00
#### Multi-users support
2020-04-08 19:54:53 +02:00
LDAP authentication is activated. All YunoHost users can authenticate.
2019-08-04 00:50:29 +02:00
2022-01-14 20:09:18 +01:00
Log-out from YunoHost's portal doesn't log out from Mastodon. See https://github.com/YunoHost/issues/issues/501
2021-12-08 11:14:56 +01:00
## Documentation and resources
2019-03-18 04:22:38 +01:00
2021-12-08 11:14:56 +01:00
* Official app website: https://joinmastodon.org/
* Official admin documentation: https://docs.joinmastodon.org/
2022-01-06 15:53:17 +01:00
* Upstream app code repository: https://github.com/mastodon/mastodon
2021-12-08 11:14:56 +01:00
* YunoHost documentation for this app: https://yunohost.org/app_mastodon
* Report a bug: https://github.com/YunoHost-Apps/mastodon_ynh/issues
2019-03-18 04:22:38 +01:00
2021-02-17 19:22:07 +01:00
## Developer info
2019-03-18 04:22:38 +01:00
2021-02-17 19:22:07 +01:00
Please send your pull request to the [testing branch ](https://github.com/YunoHost-Apps/mastodon_ynh/tree/testing ).
2019-03-18 04:22:38 +01:00
To try the testing branch, please proceed like that.
```
sudo yunohost app install https://github.com/YunoHost-Apps/mastodon_ynh/tree/testing --debug
or
sudo yunohost app upgrade mastodon -u https://github.com/YunoHost-Apps/mastodon_ynh/tree/testing --debug
```
2021-12-08 11:14:56 +01:00
**More info regarding app packaging:** https://yunohost.org/packaging_apps