To build and run the application, you will need Java preinstalled.
$ git clone https://github.com/zh-efimenko/Kicker-telegram-bot.git
$ cd Kicker-telegram-bot
$ ./gradlew build installDist
$ ./build/install/kicker-telegram-bot/bin/kicker-telegram-bot --kicker.api.host=value --telegram.access-key=value
$ docker run -d --name kicker-bot --restart always \
-e TELEGRAM_ACCESS_KEY=$TELEGRAM_ACCESS_KEY \
-e KICKER_API_HOST=$KICKER_API_HOST \
eefimenko/kicker-telegram-bot
The Application uses several environment variables. All of them are required to run the application.
kicker.api.host
orKICKER_API_HOST
Configure the kicker.api.host environment variable to point to the host where you are running your Kicker server.
telegram.access-key
orTELEGRAM_ACCESS_KEY
Configure the telegram.access-key environment variable to point to the your telegram bot.