···212122221. Install needed dependencies.
23232424- sudo apt install git python3-full pip cmake
2424+ sudo apt install git python3-full pip cmake
252526262. Create a new system user to run it under.
27272828- sudo adduser --system --home /var/lib/xmpp-discord-bridge xmpp-discord-bridge
2828+ sudo adduser --system --home /var/lib/xmpp-discord-bridge xmpp-discord-bridge
292930303. Now open a shell as that user.
31313232- sudo -u xmpp-discord-bridge -s
3232+ sudo -u xmpp-discord-bridge -s
333334344. Run:
35353636- cd && git clone "https://codeberg.org/queer-spark/xmpp-discord-bridge.git" && cd xmpp-discord-bridge && python3 -m pip install . --user --break-system-packages && cd
3636+ cd && git clone "https://codeberg.org/queer-spark/xmpp-discord-bridge.git" && cd xmpp-discord-bridge && python3 -m pip install . --user --break-system-packages && cd
373738385. Create and edit `~/config.toml`. Refer to [example.toml](example.toml) for options.
393940406. `exit` to leave the shell.
41414242-7. Copy the service file to systemd's system directory.
4242+7. Copy the service file to systemd's system directory.
43434444- sudo cp /var/lib/xmpp-discord-bridge/xmpp-discord-bridge/optional/xmpp-discord-bridge.service /etc/systemd/system/
4444+ sudo cp /var/lib/xmpp-discord-bridge/xmpp-discord-bridge/optional/xmpp-discord-bridge.service /etc/systemd/system/
454546468. Read through the [XMPP](#xmpp) and [Discord](#discord) sections and make sure the listed requirements are met.
474748489. Start and enable the bridge.
49495050- sudo systemctl enable --now xmpp-discord-bridge.service
5050+ sudo systemctl enable --now xmpp-discord-bridge.service
51515252### XMPP
5353