Skip to content

Latest commit

 

History

History
46 lines (39 loc) · 1.04 KB

readme.md

File metadata and controls

46 lines (39 loc) · 1.04 KB

Build Status

Русская версия

The bot-based drivers hub for VTC management.

Functional

functional

Install

Database

Run ./scripts/setupdb.sh for creating tables from schema.sql:

./setupdb.sh <db_name> <db_user> 

The environment

Environment initialization:

poetry init

Install dependencies:

poetry install --only main

Start

Create a secret file with the discord key, db name and username:

export DISCORD_API_TOKEN=...
export POSTGRES_DBNAME=...
export POSTGRES_USER=...

And export it:

source file

Then:

poetry run bot

At starts with other ways it causes the import errors.

Contributing

The project stack: discord.py, psycopg, pytest + dpytest. Check out our contributing guidelines for ways to give feedback and contribute.