Preferrably apache2 with php7 and https certificate ( https://www.letsencrypt.org )
Copy config.php.example and edit (values explained further)
Create dir /var/log/tg-bots/ and set it writeable by webserver
edit config.php and set CONFIG_LOGFILE
Start chat with https://t.me/BotFather and create bot token. Enable Inline mode, Allow Groups, Group Privacy off
Use https://www.miniwebtool.com/sha512-hash-generator/ and set CONFIG_HASH
to hashed value of your token (make sure it is lowecase)
Create database named for your bot ID (first part of your TG bot token)
Set database password to second part of your TG bot token
Only allow localhost access
Import raid-pokemon-bot.sql
as default DB structure
Use https://your-hostname/bot-dir/setup.php
Get maps API key, and set as TZ_API_KEY
in your config.
Activate it for both Geocoding and Time Zone API
https://developers.google.com/maps/documentation/timezone/get-api-key https://developers.google.com/maps/documentation/geocoding/start#get-a-key