update readme

This commit is contained in:
brooke 2025-01-24 19:20:09 -05:00
parent 264a1db6f9
commit f3f2569bcd

View File

@ -31,15 +31,26 @@ Note: The initial startup commonly takes longer than the allotted time for setup
This is the default, nothing needs to be changed unless you know there are sqlite options you want to change.
### Postgres
* You will need to generate a secret for the db password `abra app secret generate <app-domain> db_password v1`
* Then you will need to uncomment `#COMPOSE_FILE="$COMPOSE_FILE:compose.postgres.yml"`
You will need to generate a secret for the db password
```
abra app secret generate <app-domain> db_password v1
```
Then uncomment the following line
```
COMPOSE_FILE="$COMPOSE_FILE:compose.postgres.yml"
```
## [Add your first account](https://docs.gotosocial.org/en/latest/getting_started/user_creation/)
Create the account
`abra app run <app-domain> app ./gotosocial admin account create --username <user-name> --email <user-email> --password '<a-secure-password>'`
```
abra app run <app-domain> app ./gotosocial admin account create --username <user-name> --email <user-email> --password '<a-secure-password>'
```
Make them an admin
`abra app run <app-domain> app ./gotosocial admin account promote --username <user-name>`
```
abra app run <app-domain> app ./gotosocial admin account promote --username <user-name>
```
## Federation mode