1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/glitchsoc_ynh.git synced 2024-09-03 19:15:59 +02:00
glitchsoc_ynh/README.md

87 lines
3.2 KiB
Markdown
Raw Normal View History

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-02-17 19:22:07 +01:00
> *This package allows you to install Mastodon quickly and simply on a YunoHost server.
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
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
2021-01-06 01:46:32 +01:00
**Shipped version:** 3.3.0
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
## Screenshots
2017-04-08 04:04:27 +02:00
2019-03-18 04:22:38 +01:00
![](https://framalibre.org/sites/default/files/mastodon.png)
2017-04-08 04:04:27 +02:00
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
```
$ 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
## Documentation
* Official documentation: https://docs.joinmastodon.org/
## 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
2019-03-18 04:22:38 +01:00
#### Supported architectures
2021-04-10 00:18:53 +02:00
* x86-64 - [![Build Status](https://ci-apps.yunohost.org/ci/logs/mastodon.svg)](https://ci-apps.yunohost.org/ci/apps/mastodon/)
* ARMv8-A - [![Build Status](https://ci-apps-arm.yunohost.org/ci/logs/mastodon.svg)](https://ci-apps-arm.yunohost.org/ci/apps/mastodon/)
2019-03-18 04:22:38 +01:00
## Links
* Report a bug: https://github.com/YunoHost-Apps/mastodon_ynh/issues
2019-03-18 04:26:32 +01:00
* App website: https://joinmastodon.org/
2019-05-10 11:43:31 +02:00
* Upstream app repository: https://github.com/tootsuite/mastodon
2019-03-18 04:22:38 +01:00
* YunoHost website: https://yunohost.org/
---
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
```