To put it simply, KGBTR Bot is a reddit bot developed to meet the needs(moderation or fun) of r/KGBTR subreddit.
Hort is an expression specific to KGBTR community. This commune uses this term for repost submission or post.
- Python >= 3.6
- Python 3 knowledge 😀
- PostgreSQL Database (You can use heroku PostgreSQL add-on)
-
Clone this repo into local project directory.
-
pip install -r requirements.txt
-
On Unix-based systems, you must doing
.env.example
rename as.env
viamv .env.example .env
. If you are using Windows-based system, you can use Powershell'sRename-Item .env.example .env
. You need to do this terminal command to the project root folder. -
Fill the inside of the
.env
file with the environment variables. Like this:
DATABASE_URL=postgresql://localhost:5433/mydb
- Run both command
python src/main.py
andpython src/hoarder.py
docker-compose up
. It's that easy withdocker-compose
😄docker-compose
services down below:- hoarder
- main
We love the open source. We appreciate to any kind of contribution. Let's open a PR (Pull Request acronym) 🎊
This project under the MIT license.