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
2019-05-22 15:19:52 +02:00
conf Merge branch 'testing' into example_ynh 2019-05-12 20:32:33 +02:00
scripts Fix missing ports 2019-05-22 15:17:31 +02:00
.travis.yml Adding automations 2019-05-10 11:37:32 +02:00
check_process Merge branch 'testing' into example_ynh 2019-05-12 20:32:33 +02:00
LICENSE Initial commit 2017-04-08 04:04:27 +02:00
manifest.json Merge branch 'testing' into example_ynh 2019-05-12 20:32:33 +02:00
pull_request_template.md Adding automations 2019-05-10 11:37:32 +02:00
README.md Merge branch 'testing' into example_ynh 2019-05-12 20:32:33 +02:00
README_fr.md Merge branch 'testing' into example_ynh 2019-05-12 20:32:33 +02:00

Mastodon for YunoHost

Integration level
Install Mastodon with YunoHost

Lire ce readme en français.

This package allow you to install Mastodon quickly and simply on a YunoHost server.
If you don't have YunoHost, please see here to know how to install and enjoy it.

⚠️ UPDATE 05/06/17 :This app can work now on ARM, but installation takes several hours and you must add a swapfile of 1GB.

⚠️ This application uses the Debian backports packages, do not install this application directly in production

Overview

Mastodon is a free, open-source social network. A decentralized alternative to commercial platforms, it avoids the risks of a single company monopolizing your communication. Pick a server that you trust — whichever you choose, you can interact with everyone else. Anyone can run their own Mastodon instance and participate in the social network seamlessly.

Shipped version: 2.8.2

Screenshots

Source code

Configuration

Adding "swapfile" If you have less than 2Go of RAM

sudo dd if=/dev/zero of=/swapfile bs=1024 count=1024000
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile

add this line on /etc/fstab

/swapfile       none    swap    sw      0       0

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

The admin user is automatically created as: user@domain.tld

Update

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

Recommendation

You can't install Mastodon in subdirectory, you must use a domain or subdomain for this application.

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.

Documentation

YunoHost specific features

Supported architectures

  • x86-64b - Build Status
  • ARMv8-A - Build Status
  • Jessie x86-64b - Build Status

Developers info

Only if you want to use a testing branch for coding, instead of merging directly into master. Please do 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