Full documentation repository for Mastodon
Go to file
Akihiko Odaki 845ed4ad99 Use db:setup instead of db:migrate when creating the database (#560)
db:setup is used in all guides except Docker Guide, which uses db:migrate
to create the database. db:setup is actually superior over db:migrate for
the purpose in terms of performance and compatibility.

db:setup is performant because it does not perform redundant migrations.
db:migrate, on the other hand, executes migration code which will be
dismissed by later migrations. db:migrate also waits for seconds to allow
to interrupt migrations if it is not favorable to run them on a running
server, but db:setup is obviously executed on a instance which is not
running yet, and the wait is unnecessary.

db:migrate has a compatibility issue. It requires a compatibility layer
to keep it working, and such one may be broken, or not provided by
dependencies such as Paperclip.

This commit replaces db:migrate with db:setup in the building guide. The
procedure cannot be applied to migration from an older release, where
the old procedure could, but it is not problematic because it has
dedicated Updating section.
2018-03-09 06:41:01 +01:00
Contributing-to-Mastodon Fix typos. (#538) 2018-02-09 01:18:07 +01:00
Maintaining-Mastodon Add Backups Guide (#414) 2017-10-08 15:19:48 +02:00
Running-Mastodon Use db:setup instead of db:migrate when creating the database (#560) 2018-03-09 06:41:01 +01:00
Using-Mastodon add TheDesk (#550) 2018-02-27 13:41:06 +01:00
Using-the-API Add mastodon-cpp to list of libraries (#546) 2018-02-21 19:34:18 +01:00
Extensions.md Update Extensions.md 2017-12-13 14:52:31 +01:00
LICENSE Revert "Fix #262 - Use GNU Free Documentation License (#349)" (#350) 2017-07-25 20:03:43 +02:00
README.md Update README.md 2017-12-13 14:55:56 +01:00
Specs-and-RFCs-used.md Update Specs-and-RFCs-used.md 2017-12-13 14:54:10 +01:00

README.md

Mastodon

Mastodon is a free, open-source social network server based on open web protocols like ActivityPub and OStatus. The social focus of the project is a viable decentralized alternative to commercial social media silos that returns the control of the content distribution channels to the people.

Documentation

Using Mastodon

Using the API

Running Mastodon

In production

Please note: It is highly recommended to run a tagged release of Mastodon and not run off the current master branch.

The aforementioned guides presume using certain software, like Nginx. But using alternatives is possible: Alternative system configurations

In development

Contributing to Mastodon

Protocols