👾 Telegram-bot: https://t.me/campgamesbot
- select games by filters
/admin-> buttons menu:- parsing departments structure into json format
- statistics can be requested any time and regularly send every morning,
- push notification to all users in db,
- set ads under schedule
- Commands:
- Public:
/idreturn current chat id/timereturn current server time
- Public:
python --version >>> Python 3.8.5
linux version >>> Ubuntu 20.0
Telegram API wrapper used: python-telegram-bot
On a AWS Ubuntu 18.04 new machine, below installations are required:
sudo apt-get install gcc libpq-devsudo apt-get install python3-dev python3-pip python3-venv python3-wheelsudo apt install git-allpip3 install wheel
git clone --recurse-submodules https://repo.url repo- clone repocd campgames_bot- move to project directorycp .env.example .env- create your .env file and insert your valuespoetry installpoetry shell- run virtualenv shellpython3 -m bot- run as python module from top src directory to acsess database layer
docker volume create campgames-volumedocker compose up --build