Requirements
The bot requires and is dependent on few server configuration and libraries.
- A 64bit linux server with shell access. Jailed shell wont work Note: Arm based servers cannot build app because android SDK's aapt fails on ARM processors eg. raspberry pi
- Python (2.7 preferred)
- Java JDK 1.8
- Android SDK. You may find a lot of guide on setting up standalone SDK from internet. Note: Gradle will handle installing missing platforms and tools for you. It is enough if you install SDK tools and setup the environment library
- Pip to install python libraries. Installation guide for pip
Install the following dependencies and libraries before you can start using the bot
The bot requires Mysql database for storing bot configuration for each chat. Install Mysql depending on your linux flavour and optionally webserver and phpmyadmin if you need a easy visual management for the database from your browser
Install Git from your distro's package manager (apt, yum, etc.)
This bot is built using an opensource telegram bot API python wrapper called python-telegram-bot which is the heart of this bot. Install it with:
# pip install python-telegram-bot
Python's reuests package is required for communicating with GitHub API
# pip install requests
GitPython libary for easy handling of repo clone, pull and init
# pip install GitPython
MySql db libary is required for all communication between the python and the database
# pip install MySQL-python
Wiki of tg-autobuild-bot
– © Copyright 2017 – Licenced by Creative Commons