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
- 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
- Docker: (easier, requires Docker Engine and Docker Compose)
# building the image
$ docker-compose build
# running it
$ docker-compose up