sudo dnf install postgresql-server postgresql-contrib
sudo postgresql-setup --initdb
sudo systemctl start postgresql
sudo systemctl enable postgresql
sudo -i -u postgres psql
CREATE DATABASE judge_brains;
CREATE USER judge WITH ENCRYPTED PASSWORD 'your_secure_password';
GRANT ALL PRIVILEGES ON DATABASE judge_brains TO judge;
\q
Your new file named as '.env' must look like this: DATABASE_URL=postgres://judge:your_secure_password@localhost/judge_brains SERENITY_TOKEN=discord_token_here TELOXIDE_TOKEN=telegram_token_here