X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=README.md;h=ff98ae1c77e24533ff196677eae27fe2e3d99acb;hb=9b35a4e850ca9fe1d36b9157054bcde3b4e41083;hp=a3eb068965a8a7f2699fc674edcd3abe275b50c2;hpb=485cc0bc6accb5bccbc9f1a68a66de0955855580;p=akkoma diff --git a/README.md b/README.md index a3eb06896..ff98ae1c7 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,17 @@ Pleroma is an OStatus-compatible social networking server written in Elixir, compatible with GNU Social and Mastodon. It is high-performance and can run on small devices like a Raspberry Pi. +For clients it supports both the [GNU Social API with Qvitter extensions](https://twitter-api.readthedocs.io/en/latest/index.html) and the [Mastodon client API](https://github.com/tootsuite/documentation/blob/master/Using-the-API/API.md). + +Mobile clients that are known to work well: + +* Twidere +* Tusky +* Pawoo (Android + iOS) +* Subway Tooter +* Amaroq (iOS) +* Tootdon (Android + iOS) + No release has been made yet, but several servers have been online for months already. If you want to run your own server, feel free to contact us at @lain@pleroma.soykaf.com or in our dev chat at https://matrix.heldscal.la/#/room/#pleromafe:matrix.heldscal.la. ## Installation @@ -41,14 +52,15 @@ Elixir will also require `make` and probably other related software for building GRANT ALL ON ALL sequences IN SCHEMA public TO pleroma; ``` - * Change password in `config/dev.exs`, and change user to `"pleroma"` (line like `username: "postgres"`) - * Create and update your database with `mix ecto.create && mix ecto.migrate`. If it gives errors, try running again, this is a known issue. + * Create `config/dev.secret.exs` and copy the database settings from `dev.exs` there. + * Change password in `config/dev.secret.exs`, and change user to `"pleroma"` (line like `username: "postgres"`) + * Create and update your database with `mix ecto.create && mix ecto.migrate`. ### Some additional configuration - * You will need to let pleroma instance to know what hostname/url it's running on. _THIS IS THE MOST IMPORTANT STEP. GET THIS WRONG AND YOU'LL HAVE TO RESET YOUR DATABASE_. + * You will need to let pleroma instance to know what hostname/url it's running on. _THIS IS THE MOST IMPORTANT STEP. GET THIS WRONG AND YOU'LL HAVE TO RESET YOUR DATABASE_. We _ONLY_ support _HTTPS_ deployments in production. You can use basic http for local dev, but _NEVER USE IT_ on an actual instance. - In file `config/dev.exs`, add these lines at the end of the file: + Create the file `config/dev.secret.exs`, add these lines at the end of the file: ```elixir config :pleroma, Pleroma.Web.Endpoint, @@ -57,6 +69,14 @@ Elixir will also require `make` and probably other related software for building replacing `example.tld` with your (sub)domain + * You should also setup your site name and admin email address. Look at config.exs for more available options. + + ```elixir + config :pleroma, :instance, + name: "My great instance", + email: "someone@example.com" + ``` + * The common and convenient way for adding HTTPS is by using Nginx as a reverse proxy. You can look at example Nginx configuration in `installation/pleroma.nginx`. If you need TLS/SSL certificates for HTTPS, you can look get some for free with letsencrypt: https://letsencrypt.org/ On Debian you can use `certbot` package and command to manage letsencrypt certificates.