docs: re-format guide

This commit is contained in:
decentral1se 2022-05-12 22:32:35 +02:00
parent 2bac1aa31c
commit 1832911526
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410
1 changed files with 11 additions and 8 deletions

View File

@ -86,14 +86,17 @@ This could be implemented in this recipe but we haven't merged it in yet. Change
Setting it up is a bit of a chicken/egg & chasing cats moment. Here is a rough guide: Setting it up is a bit of a chicken/egg & chasing cats moment. Here is a rough guide:
- `abra app secret generate -a <domain>` (generates invalid secret values) ```
- `abra app deploy <domain>` abra app secret generate -a <domain>
- `abra app run matrix.fva.wtf telegram-bridge cat /data/registration.yaml` (get your app service secrets) abra app deploy <domain>
- `abra app undeploy <domain>` abra app run matrix.fva.wtf telegram_bridge cat /data/registration.yaml
- `abra app secret insert <domain> telegram_as_token v1 <secret>` abra app undeploy <domain>
- `abra app secret insert <domain> telegram_hs_token v1 <secret>` abra app secret insert <domain> telegram_as_token v1 <secret>
- `abra app deploy <domain>` abra app secret insert <domain> telegram_hs_token v1 <secret>
- ??? api/hash/token ??? abra app deploy <domain>
```
Some helpful documentation:
- [`docs.mau.fi`](https://docs.mau.fi/bridges/python/setup/docker.html?bridge=telegram) - [`docs.mau.fi`](https://docs.mau.fi/bridges/python/setup/docker.html?bridge=telegram)
- [`example-config.yaml`](https://mau.dev/mautrix/telegram/-/blob/master/mautrix_telegram/example-config.yaml) - [`example-config.yaml`](https://mau.dev/mautrix/telegram/-/blob/master/mautrix_telegram/example-config.yaml)