Graphing manipulated data through discord.py
Archived in favor of splitting up the repository and including it in infra.xithrius.cloud.
API: https://github.com/Xithrius/xythrion-api
Bot: https://github.com/Xithrius/xythrion-bot
docker
and docker-compose
python-pdm
git clone https://github.com/Xithrius/infra.xithrius.cloud
cp .env.sample .env
Put a password into POSTGRES_PASSWORD
and "infra"
into POSTGRES_USER
[!IMPORTANT]
If you’re setting up for production, you can place a discord webhook intoWATCHTOWER_NOTIFICATION_URL
if you plan to use watchtower.
cd infra.xithrius.cloud/scripts
./create-networks.sh
./setup-postgres.sh infra xythrion xythrion xythrion
.env.sample
file to .env
cp .env.sample .env
XYTHRION_BOT_TOKEN
in the .env
file, and whatever prefix you’d like (such as ";"
) into XYTHRION_BOT_PREFIX
pdm precommit
pdm upgrade
to run database migrationspdm api
pdm bot
docker compose up -d
loginctl enable-linger
such that detached containers don’t exit when you logout