mirror of
https://github.com/matrix-construct/construct
synced 2024-11-24 15:52:34 +01:00
Created Bridges (markdown)
parent
ad31f19cfb
commit
e2547a92e1
1 changed files with 19 additions and 0 deletions
19
Bridges.md
Normal file
19
Bridges.md
Normal file
|
@ -0,0 +1,19 @@
|
|||
## Bridge Registration
|
||||
|
||||
1. [Follow instructions for setting up your bridge](https://docs.mau.fi/bridges/python/setup.html). This should produce a `registration.yaml` file.
|
||||
|
||||
2. Convert the `registration.yaml` to `registration.json` using a yaml2json converter such as `apt-get install reserialize` or a website.
|
||||
|
||||
```
|
||||
reserialize yaml2json registration.yaml > registration.json
|
||||
```
|
||||
|
||||
3. Open the [Console](https://github.com/matrix-construct/construct/wiki/Useful-console-command-examples) to enter the following command:
|
||||
|
||||
```
|
||||
> bridge set /path/to/registration.json
|
||||
```
|
||||
|
||||
- If the bridge has already been registered then configuration will be updated.
|
||||
|
||||
4. The bridge module may have to be reloaded `mod reload m_bridge` in the console to take effect.
|
Loading…
Reference in a new issue