You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mastodon can theoretically run indefinitely on a free [Heroku](https://heroku.com) app. It should be noted this has limited testing and could have unpredictable results.
6
+
Mastodon can be run on a free [Heroku](https://heroku.com) app. It should be
7
+
noted this has limited testing and could have unpredictable results.
7
8
8
-
1. Click the above button.
9
-
2. Fill in the options requested.
10
-
* You can use a .herokuapp.com domain, which will be simple to set up, or you can use a custom domain. If you want a custom domain and HTTPS, you will need to upgrade to a paid plan (to use Heroku's SSL features), or set up [CloudFlare](https://cloudflare.com) who offer free "Flexible SSL" (note: CloudFlare have some undefined limits on WebSockets. So far, no one has reported hitting concurrent connection limits).
11
-
* You will want Amazon S3 for file storage. The only exception is for development purposes, where you may not care if files are not saved. Follow a guide online for creating a free Amazon S3 bucket and Access Key, then enter the details.
12
-
* If you want your Mastodon to be able to send emails, configure SMTP settings here (or later). Consider using [Mailgun](https://mailgun.com) or similar, who offer free plans that should suit your interests.
13
-
3. Deploy! The app should be set up, with a working web interface and database. You can change settings and manage versions from the Heroku dashboard.
9
+
## Basic setup
14
10
15
-
You may need to use the `heroku` CLI application to run `USERNAME=yourUsername rails mastodon:make_admin` to make yourself an admin.
11
+
Click the button above to start creating a Heroku app with the Mastodon repo as
12
+
the source. This tells Heroku to use the `app.json` file which does things like
13
+
prompt for config variables, set up the right buildpacks, run a postdeploy task,
14
+
and add the appropriate addons.
15
+
16
+
If you don't use the deploy button and app.json approach, you will need to do
17
+
some of that manually.
18
+
19
+
## Domain names and SSL
20
+
21
+
You can add your domain name to the Heroku app's setting, and then also use
22
+
Heroku's (free) auto renewal program for Lets Encrypt certificates, by
23
+
requesting a cert from the settings screen. You'll have to point your hostname
24
+
DNS at Heroku using the values heroku gives you on this screen, using whatever
25
+
method is appropriate for your DNS setup.
26
+
27
+
You should set the Heroku config vars of `LOCAL_DOMAIN` to your hostname, and
28
+
`LOCAL_HTTPS` to "true" as well.
29
+
30
+
## Email
31
+
32
+
Consider using [Mailgun](https://mailgun.com) or similar, who offer free plans
33
+
that should suit your interests. Look in `production.rb` to see which config
34
+
variables need to be set on Heroku for outgoing email to work.
35
+
36
+
## File storage
37
+
38
+
You will want Amazon S3 for file storage. The only exception is for development
39
+
purposes, where you may not care if files are not saved. Follow a guide online
40
+
for creating a free Amazon S3 bucket and Access Key, then enter the details.
41
+
42
+
## Deployment
43
+
44
+
You can deploy from the Heroku web interface or from the command line. Run:
45
+
46
+
`heroku run rails db:migrate`
47
+
48
+
after you first deploy to set up the first database.
49
+
50
+
To make yourself an admin, you may need to use the `heroku` CLI application after creating an account online:
Copy file name to clipboardExpand all lines: Using-Mastodon/FAQ.md
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -36,8 +36,9 @@ While Mastodon is compatible with GNU social in terms of server to server commun
36
36
37
37
Because Mastodon has been created from a blank slate, it is much simpler to have the API mirror internal structures as closely as possible, rather than build an emulation layer. Secondly, the GNU social client API is actually a half-way implementation of the legacy Twitter API - that's the reason why it works with some older Twitter client apps. However, many of those apps are not maintained anymore, the GNU social API does not actually keep up with the real Twitter API and never fully implemented all its features; at the same time, the Twitter API was never meant for a federated service and so obscures some of the functionality.
38
38
39
+
39
40
#### How is Mastodon funded?
40
41
41
42
Development of Mastodon and hosting of mastodon.social is funded through my [Patreon (also BTC/PayPal donations)](https://www.patreon.com/user?u=619786). Beyond that, I am not interested in VC funding, monetizing, advertising, or anything of that sort. I could offer setup/maintenance services on demand.
42
43
43
-
The software is free and open source and communities should host their own servers if they can, that way the costs are more or less distributed. Obviously it'd be hard for me to pay the bills if literally everyone decided to use the mastodon.social instance only.
44
+
The software is free and open source and communities should host their own servers if they can, that way the costs are more or less distributed. Obviously it'd be hard for me to pay the bills if literally everyone decided to use the mastodon.social instance only.
| [digitalhumanities.club](http://www.digitalhumanities.club)|[Digital humanities](http://whatisdigitalhumanities.com) community; invitations will open once code of conduct drafted.|No|No
59
+
|[design.vu](https://design.vu)|— what's your design view‽|Yes|No|
60
+
|[masto.raildecake.fr](https://masto.raildecake.fr)|Hebergé chez un FAI associatif dans le sud de la france, grillons & pins en options|Yes|No|
0 commit comments