You have to change the the config values for bot.token
and bot.username
and weather
in the application.yml
to the credentials of your bot and then
you're ready to go.
Plz rename ./src/main/resources/application.example to ./src/main/resources/application.yml and write you data. Make your Bot by https://telegram.me/BotFather
https://home.agromonitoring.com/api_keys
You have to change the the config values for bot.token
and bot.username
in the application.yml
to the credentials of your bot and then
you're ready to go.
To start in Docker container, first build the image:
docker build -t bot .
then run:
docker run -d --rm -it bot:latest