A custom-built chatbot for GitHub logging and other automation tools in the Vyxal Stack Exchange chatroom.
- Download and install PostgreSQL, and create a new account for the bot to use
- Download and install poetry, ideally with
pipx(pipx install poetry) - Clone this repository
- Run
poetry install - Rename
.sample.envto.envand fill in the blanks (including the Postgres database URL); the variables starting withGITHUB__can be left as-is if you don't plan on testing commands which interact with GitHub. - Run
poetry run prisma db pushto initialize the database and create the Prisma client - Start the bot with
poetry run python3 -m vyxalbot3
Any changes to the schema must be pushed to the database with poetry run prisma db push.