I would appreciate if you don't host my bot. However, if you want to test it out, the installation steps are as follows:
- Set up the PostgreSQL database by running the
psql
command
CREATE DATABASE overbot;
CREATE USER davide WITH PASSWORD 'password';
GRANT ALL PRIVILEGES ON DATABASE overbot TO davide;
Note: It is recommended to run the latest stable version of PostgreSQL
- Set up the bot and run it
Linux
git clone https://github.com/davidetacchini/overbot.git
cd overbot
python3 -m venv env
source env/bin/activate
pip install -U --upgrade pip setuptools # fix build failing
pip install -U -r requirements.txt
./scripts/init.sh
python3 bot.py # or `systemctl start overbot`
MacOS and Windows
- Clone the repository
git clone https://github.com/davidetacchini/overbot.git
- Setup a virtual environment
- Install the dependencies
pip install -U -r requirements.txt
- Rename
config.example.py
toconfig.py
- Edit the
config.py
file - use
python3 bot.py
to run the bot
Note: It is recommended to run the latest stable version of Python
OverBot uses black, isort and flake8 as code style.
If you want to contribute to OverBot, please run make format
before submitting any pull request.