diff --git a/Bridges.md b/Bridges.md new file mode 100644 index 0000000..e1a3a6b --- /dev/null +++ b/Bridges.md @@ -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. \ No newline at end of file