···2324Create and edit `~/config.toml`. Refer to [example.toml](docs/example.toml) for options.
250000000026### XMPP
2728In order for the bridge to work, it needs to have an affiliation of `owner` before joining. Going off of the example.toml, it would have the JID of `bot@discord.example.com`.
···5152Now it's time to invite your bot to your server. Don't worry about your bot being started for this next step. On the left-hand menu click "OAuth2" and copy the Client ID into this URL then navigate to it.
5354- https://discordapp.com/oauth2/authorize?&client_id=YOUR_CLIENT_ID_HERE&scope=bot&permissions=536870912
5556The "permissions=536870912" at the end of the URL corresponds to the "Manage Webhooks" permission. It is required for the bridge to work correctly.
57
···2324Create and edit `~/config.toml`. Refer to [example.toml](docs/example.toml) for options.
2526+## Build Dockerfile
27+28+Navigate to the repository root and run the following command (Note that you can substitute `podman` with `docker`):
29+30+```shell
31+podman build -t xmpp-discord-bridge:latest -f contrib/Dockerfile .
32+```
33+34### XMPP
3536In order for the bridge to work, it needs to have an affiliation of `owner` before joining. Going off of the example.toml, it would have the JID of `bot@discord.example.com`.
···5960Now it's time to invite your bot to your server. Don't worry about your bot being started for this next step. On the left-hand menu click "OAuth2" and copy the Client ID into this URL then navigate to it.
6162+ https://discordapp.com/oauth2/authorize?&client_id=YOUR_CLIENT_ID_HERE&scope=bot&permissions=536870912
6364The "permissions=536870912" at the end of the URL corresponds to the "Manage Webhooks" permission. It is required for the bridge to work correctly.
65