1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mastodon_ynh.git synced 2024-09-03 19:46:02 +02:00
Free, open-source social network for YunoHost
Find a file
2022-02-01 19:20:52 +00:00
.github Auto-updater 2022-01-31 18:41:24 +00:00
conf Update to v3.4.5 2022-01-31 18:41:57 +00:00
doc Patch mastodon for SSO 2022-01-11 20:31:25 +01:00
scripts [enh] Workaround for bullseye 2022-01-24 15:45:01 +00:00
sources/patches Patch mastodon for SSO 2022-01-11 20:31:25 +01:00
.travis.yml Adding automations 2019-05-10 11:37:32 +02:00
check_process Upgrade to 3.4.4~ynh2 2022-01-15 19:51:24 +01:00
LICENSE Initial commit 2017-04-08 04:04:27 +02:00
manifest.json Update to v3.4.5 2022-01-31 18:41:57 +00:00
README.md Auto-update README 2022-02-01 19:20:52 +00:00
README_fr.md Auto-update README 2022-02-01 19:20:52 +00:00

Mastodon for YunoHost

Integration level
Install Mastodon with YunoHost

Lire ce readme en français.

This package allows you to install Mastodon quickly and simply on a YunoHost server. If you don't have YunoHost, please consult the guide to learn how to install it.

Overview

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.

Shipped version: 3.4.5~ynh1

Demo: https://joinmastodon.org/

Screenshots

Disclaimers / important information

Important points to read before installing

  1. Mastodon require a dedicated root domain, eg. mastodon.domain.tld
  2. The user choosen during the installation is automatically created in Mastodon with admin rights
  3. At the end of the installation a mail is sent to the user with the automatically generated password
  4. 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

$ sudo yunohost app upgrade mastodon -u https://github.com/YunoHost-Apps/mastodon_ynh --debug

Administrate with tooctl

$ (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

Documentation and resources

Developer info

Please send your pull request to the testing branch.

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

More info regarding app packaging: https://yunohost.org/packaging_apps