mirror of
https://github.com/mother-of-all-self-hosting/mash-playbook
synced 2024-11-10 14:24:25 +00:00
Improve GoToSocial documentation a bit
This commit is contained in:
parent
10531ab51c
commit
bbae99d28b
1 changed files with 10 additions and 7 deletions
|
@ -23,7 +23,6 @@ To enable this service, add the following configuration to your `vars.yml` file
|
|||
|
||||
gotosocial_enabled: true
|
||||
|
||||
|
||||
# Hostname that this server will be reachable at.
|
||||
# DO NOT change this after your server has already run once, or you will break things!
|
||||
# Examples: ["gts.example.org","some.server.com"]
|
||||
|
@ -36,9 +35,6 @@ gotosocial_hostname: 'social.example.org'
|
|||
########################################################################
|
||||
```
|
||||
|
||||
After installation, you can use `just run-tags gotosocial-add-user --extra-vars=username=<username> --extra-vars=password=<password> --extra-vars=email=<email>"`
|
||||
to create your a user. Change `--tags=gotosocial-add-user` to `--tags=gotosocial-add-admin` to create an admin account.
|
||||
|
||||
## Advanced account domain configuration
|
||||
|
||||
The account domain is the second part of a user handle in the Fediverse. If your handle is @username@example.org, `example.org` is your account domain. By default GoToSocial will use `gotosocial_hostname` that you provide as account domain e.g. `social.example.org`. You might want to change this by setting `gotosocial_account_domain` if you want the domain on accounts to be `example.org` because it looks better or is just shorter/easier to remember.
|
||||
|
@ -65,12 +61,19 @@ gotosocial_smtp_from: gotosocial@example.org
|
|||
|
||||
## Usage
|
||||
|
||||
After [installing](../installing.md), you can visit at the URL specified in `gotosocial_hostname` and should see your instance.
|
||||
Start to customize it at `social.example.org/admin`.
|
||||
After [installing](../installing.md), you can:
|
||||
|
||||
- create an **administrator** user account with a command like this: `just run-tags gotosocial-add-admin --extra-vars=username=USERNAME_HERE --extra-vars=password=PASSWORD_HERE --extra-vars=email=EMAIL_HERE`
|
||||
|
||||
- create a **regular** (non-administrator) user account with a command like this: `just run-tags gotosocial-add-user --extra-vars=username=USERNAME_HERE --extra-vars=password=PASSWORD_HERE --extra-vars=email=EMAIL_HERE`
|
||||
|
||||
Then, you should be able to visit the URL specified in `gotosocial_hostname` and see your instance.
|
||||
|
||||
To customize your instance, go to the `/admin` page.
|
||||
|
||||
Use the [GtS CLI Tool](https://docs.gotosocial.org/en/latest/admin/cli/) to do admin & maintenance tasks. E.g. use
|
||||
```bash
|
||||
docker exec -it mash-gotosocial /gotosocial/gotosocial admin account demote --username <username>
|
||||
docker exec -it mash-gotosocial /gotosocial/gotosocial admin account demote --username USERNAME_HERE
|
||||
```
|
||||
to demote a user from admin to normal user.
|
||||
|
||||
|
|
Loading…
Reference in a new issue