COTO (Contributor of The Organization) Bot

Lint

Setup

Environment Variables

Before running the steps mentioned below, make sure you set the required secrets using the following command:

# use the example file to create local environment file
$ cp .env.example .env

# fill up the values using your favorite editor
$ nano .env

Initialize

  • Manual: (requires Python 3.10 or later)
# setting up virtual environment using venv
$ python -m venv venv
$ source venv/bin/activate

# install dependencies using pip
$ pip install -r requirements.txt

# run the bot
$ python main.py
# building the image
$ docker-compose build

# running it
$ docker-compose up