Update 'README.md'
This commit is contained in:
parent
4b75c3f62d
commit
cf4158466f
1 changed files with 7 additions and 7 deletions
14
README.md
14
README.md
|
@ -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
|
This creates a pod and the postgresql container then runs the below
|
||||||
```sh
|
```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;"
|
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`:
|
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:
|
Sets up the database:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
``You don't need to do this
|
"You don't need to do this"
|
||||||
podman exec pleroma-web mix ecto.migrate
|
podman exec pleroma-web mix ecto.migrate
|
||||||
```
|
```
|
||||||
and also... migrates config to the DB
|
and also... migrates config to the DB
|
||||||
```sh
|
```sh
|
||||||
podman exec pleroma-web /pleroma/bin/pleroma_ctl config migrate_to_db
|
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`:
|
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
|
./podman-run.sh gen-keypair
|
||||||
```
|
```
|
||||||
Which sets up the containers again and runs the following:
|
Which sets up the containers again and runs the following:
|
||||||
```
|
```sh
|
||||||
>You don't need to do this<
|
"You don't need to do this"
|
||||||
podman exec pleroma-web mix web_push.gen.keypair
|
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)
|
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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue