mastodon_ynh/README.md

93 lines
3.4 KiB
Markdown
Raw Normal View History

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