yay -S python3 python-pipyay -S openssl libpqxx base-devel git
sudo useradd --system --user-group --home-dir /opt/pajbot pajbot#possibly add--create-homesudo mkdir -p /opt/pajbot && sudo chown pajbot:pajbot /opt/pajbotsudo -u pajbot git clone https://github.com/pajbot/pajbot /opt/pajbot && cd /opt/pajbot
yay -S postgresqlsudo -H -u pajbot ./scripts/venvinstall.shsudo su postgres -c "initdb --locale en_US.UTF-8 -D '/var/lib/postgres/data'"#init postgresql directories for dbsudo systemctl enable --now postgresqlsudo -u postgres createuser pajbotsudo -u postgres createdb --owner=pajbot pajbot
yay -S redissudo systemctl enable --now redis
yay -S nginxsudo systemctl enable --now nginx
sudo cp /opt/pajbot/install-docs/*.service /etc/systemd/system/sudo systemctl daemon-reload
Rest of the setup is the same as on other platforms