Add rake task for making someone into an admin

This commit is contained in:
Eugen Rochko 2017-02-13 20:41:48 +01:00
parent fc17b06edc
commit 017297c1e2
1 changed files with 11 additions and 2 deletions

View File

@ -1,8 +1,16 @@
Administration guide
=================
====================
So, you have a working Mastodon instance... now what?
## Turning into an admin
The following rake task:
rails mastodon:make_admin USERNAME=alice
Would turn the local user "alice" into an admin.
## Administration web interface
A user that is designated as `admin = TRUE` in the database is able to access a suite of administration tools:
@ -20,9 +28,10 @@ Your site settings are stored in the `settings` database table, and editable thr
You are able to set the following settings:
- Site title
- Contact username
- Contact email
- Site description
- Site extended description
You may wish to use the extended description (shown at https://yourmastodon.instance/about/more ) to display content guidelines or a user agreement (see https://mastodon.social/about/more for an example).
You may wish to use the extended description (shown at https://yourmastodon.instance/about/more ) to display content guidelines or a user agreement (see https://mastodon.social/about/more for an example).