dotagram needs Python3.5 or greater to work properly, so make sure you use the right version.
pip install -r requirements.txt
You need to set your Telegram Bot Token as the environment variable "TG_BOT_TOKEN", for example with the following command:
export TG_BOT_TOKEN="YOUR_TOKEN_HERE"
After that start the bot using
python main.py YOUR_TOKEN_HERE