···19192020⚠️ This guide also does not use a "venv" (virtual environment). I had an issue running it in its own "venv". If someone wants to troubleshoot it, contributions are welcome.
21212222-1. Install needed dependencies. `sudo apt install git python3-full pip cmake`
2323-2. Create a new system user to run it under. `sudo adduser --system --home /var/lib/xmpp-discord-bridge xmpp-discord-bridge`
2424-3. Now open a shell as that user. `sudo -u xmpp-discord-bridge -s`
2525-4. Run: `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`
2222+1. Install needed dependencies.
2323+2424+ sudo apt install git python3-full pip cmake
2525+2626+2. Create a new system user to run it under.
2727+2828+ sudo adduser --system --home /var/lib/xmpp-discord-bridge xmpp-discord-bridge
2929+3030+3. Now open a shell as that user.
3131+3232+ sudo -u xmpp-discord-bridge -s
3333+3434+4. Run:
3535+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
3737+26385. Create and edit `~/config.toml`. Refer to [example.toml](example.toml) for options.
3939+27406. `exit` to leave the shell.
2828-7. Copy the service file to systemd's system directory. `sudo cp /var/lib/xmpp-discord-bridge/xmpp-discord-bridge/optional/xmpp-discord-bridge.service /etc/systemd/system/`
4141+4242+7. Copy the service file to systemd's system directory.
4343+4444+ sudo cp /var/lib/xmpp-discord-bridge/xmpp-discord-bridge/optional/xmpp-discord-bridge.service /etc/systemd/system/
4545+29468. Read through the [XMPP](#xmpp) and [Discord](#discord) sections and make sure the listed requirements are met.
3030-9. Start and enable the bridge. `sudo systemctl enable --now xmpp-discord-bridge.service`
4747+4848+9. Start and enable the bridge.
4949+5050+ sudo systemctl enable --now xmpp-discord-bridge.service
31513252### XMPP
3353