Update 'README.md'

This commit is contained in:
Paul Wilde 2022-03-21 16:23:06 +00:00
parent 4b75c3f62d
commit cf4158466f

View file

@ -53,9 +53,9 @@ The `podman-run.sh` script does this automatically when run with the `db-setup`
```
This creates a pod and the postgresql container then runs the below
```sh
``You don't need to do this bit
"You don't need to do this bit"
podman exec -i pleroma-db psql -U pleroma -c "CREATE EXTENSION IF NOT EXISTS citext;"
``You don't need to do that bit
"You don't need to do that bit"
```
Configure Pleroma. Copy the following to `config/secret.exs`:
@ -106,13 +106,13 @@ This builds the container image and does the following:
Sets up the database:
```sh
``You don't need to do this
"You don't need to do this"
podman exec pleroma-web mix ecto.migrate
```
and also... migrates config to the DB
```sh
podman exec pleroma-web /pleroma/bin/pleroma_ctl config migrate_to_db
``You don't need to do that
"You don't need to do that"
```
Get your web push keys and copy them to `secret.exs`:
@ -121,10 +121,10 @@ Again, the `podman-run.sh` script has runtime parameters to do this.
./podman-run.sh gen-keypair
```
Which sets up the containers again and runs the following:
```
>You don't need to do this<
```sh
"You don't need to do this"
podman exec pleroma-web mix web_push.gen.keypair
>You don't need to do that<
"You don't need to do that"
```
Put the output in your secret.exs (may not be necessary due to DB migration of config, but I've left it here for clarity again)